Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

in what cases is PyPy faster than Python3 ?

Правка en1, от 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.

Теги pypy, python3, python in competitions

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Homeo 2022-07-12 23:52:33 631 Initial revision (published)