chessdroid's blog

By chessdroid, history, 7 years ago, translation, In English

Hi! I'm trying to solve 811B Here is my submission link http://codeforces.net/contest/811/submission/30908867 It seems Python cycles are running too slow, because the same code in c++ is passing.

Is there any way to make Python cycles work faster?

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

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been translated by chessdroid (original revision, translated revision, compare)

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Try submitting in PyPy. I'm not familiar with the details, but it simply works faster on some types of code involving arrays.