Why am I getting a time limit exceeded on this problem when I'm doing the same thing as everyone else?
https://mirror.codeforces.com/problemset/problem/302/A Code: https://mirror.codeforces.com/contest/302/submission/107143360