How to make Python cycles run faster
Difference between ru2 and en1, changed 394 character(s)
Hi! I'm trying to solve [811B](http://mirror.codeforces.com/problemset/problem/811/B) Here is my submission link↵
[http://mirror.codeforces.com/contest/811/submission/30908867](http://mirror.codeforces.com/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?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English chessdroid 2017-10-01 16:30:13 394 Initial revision for English translation
ru2 Russian chessdroid 2017-10-01 16:22:54 0 (опубликовано)
ru1 Russian chessdroid 2017-10-01 16:21:11 394 Первая редакция (сохранено в черновиках)