Can any one explain why I'm getting AC in Python3 but TLE in PYPY3 for the same code?

Revision en1, by adshin21, 2019-01-26 17:58:56

Problem Link

My solution in Python3... Link 1

My Solution in PYPY3... Link 2

Any suggestion will be also great.

Thank You !

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English adshin21 2019-01-26 17:58:56 407 Initial revision (published)