Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Python (PyPy) vs CPP

Правка en2, от starkizard, 2020-05-18 20:52:45

In round #643 Div 2 , for question B, I did this solution using PyPy 3: https://codeforces.com/contest/1355/submission/80386227

it passed the protests but TLE'd test case #26 after system testing I did the same code in CPP , and it ran flawlessly: https://codeforces.com/contest/1355/submission/80387439

Is there any tip for me, who codes in python. relatively new to cpp. Should there be time extension for python as in other platforms? or is there something I can do to my code to make it faster?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский starkizard 2020-05-18 20:52:45 111
en1 Английский starkizard 2020-05-16 19:04:00 636 Initial revision (published)