Please subscribe to the official Codeforces channel in Telegram via the link ×

starkizard's blog

By starkizard, history, 4 years ago, In English

In round #643 Div 2 , for question B, I did this solution using PyPy 3:

it passed the protests but TLE'd test case #26 after system testing I did the same code in CPP , and it ran flawlessly:

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?

Full text and comments »

  • Vote: I like it
  • -25
  • Vote: I do not like it