Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Need HelpCF Round 946(Div. 3). The same code got passed in Python 3 but it is giving tle in PyPy 3-64.
Difference between en1 and en2, changed 25 character(s)
PyPy 3-64  Submission id [261912327](https://codeforces.com/contest/1974/submission/261912327)↵
Python 3 Submission id [261912035](https://codeforces.com/contest/1974/submission/261912035).↵
Spent all my time debugging this code but could not figure out during contest.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English sahkumar.bishwash 2024-05-20 20:27:20 25
en1 English sahkumar.bishwash 2024-05-20 20:23:16 351 Initial revision (published)