On the third sample input, I'm getting output 1 in my IDE. However, when I submit my solution, I get 2. https://codeforces.me/problemset/problem/1036/A
Why does this happen?
Code: https://codeforces.me/contest/1036/submission/108317612
Why different outputs?
On the third sample input, I'm getting output 1 in my IDE. However, when I submit my solution, I get 2. https://codeforces.me/problemset/problem/1036/A
Why does this happen?
Code: https://codeforces.me/contest/1036/submission/108317612