cannot figure out why TLE on http://codeforces.me/contest/330/problem/D
I have tried everything (but switch to C++)
here is code: http://codeforces.me/contest/330/submission/11660881
TLE on 330D
cannot figure out why TLE on http://codeforces.me/contest/330/problem/D
I have tried everything (but switch to C++)
here is code: http://codeforces.me/contest/330/submission/11660881