How to make Python cycles run faster

Правка en1, от chessdroid, 2017-10-01 16:30:13

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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский chessdroid 2017-10-01 16:30:13 394 Initial revision for English translation
ru2 Русский chessdroid 2017-10-01 16:22:54 0 (опубликовано)
ru1 Русский chessdroid 2017-10-01 16:21:11 394 Первая редакция (сохранено в черновиках)