PyPy vs Python

Правка en1, от yash_0402, 2021-01-20 07:48:38

After seeing this, almost everyone will submit the code in PyPy.

Now checkout this two solutions : 104868543 and 104820924

Both of them has same code and it was the solution of A problem of div2. The time complexity of the code was O(n). PyPy code gave TLE and Python code gave AC resulted in penalty of 50 points.

It's not over yet. Same thing happened in Problem C of same contest, but this time Python code gave TLE and PyPy code worked fine. Python code : 104867840 and PyPy code : 104868496

Now how one will decide to submit solution in PyPy or Python. Or every time we have to suffer a penalty of 50 points by trying in both.

Please some one look into it and help out Python community

Теги #python3, #pypy3, #python, #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский yash_0402 2021-01-20 07:48:38 847 Initial revision (published)