https://codeforces.me/contest/1691/submission/159098417
Why does this solution fail on test 30 (TLE)? this is an O(n) solution and also this shouldn't have run more then O(1) time complexity.
Why TLE?
https://codeforces.me/contest/1691/submission/159098417
Why does this solution fail on test 30 (TLE)? this is an O(n) solution and also this shouldn't have run more then O(1) time complexity.