Hi! I'm trying to solve [811B](http://codeforces.net/problemset/problem/811/B) Here is my submission link↵
[http://codeforces.net/contest/811/submission/30908867](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?
[http://codeforces.net/contest/811/submission/30908867](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?