in what cases is PyPy faster than Python3 ?

Revision en1, by Homeo, 2022-07-12 23:52:33

I'm troubling with the idea that sometimes Python3 is faster than PyPy and i couldn't find why..

Its is actually frustrating in contests when i submit the same code with PyPy and it doesn't get accepted but with Python3 it gets accepted and i get penalty Deducted.

like this code here : The submission with Python3:

163955071 --> 716ms

The submission with PyPy:

163955090 --> 2152ms

I searched along the codeforces blogs to find a clear answer and i didn't find any.

Tags pypy, python3, python in competitions

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Homeo 2022-07-12 23:52:33 631 Initial revision (published)