Is 10^9 computation is possible before 2.00 seconds? If not possible,how my solution works of following problem? Problem link: http://mirror.codeforces.com/problemset/problem/851/C Submission: http://mirror.codeforces.com/contest/851/submission/30089349