Today I was solving one problem from codeforces past contests. And I found that codeforces and vscode are giving different output for same code.
Problem link is https://codeforces.com/problemset/problem/576/A
My submission link is https://codeforces.com/contest/576/submission/93032729
Codeforces is showing wrong answer on test case 2.
But vscode and other reliable online compilers are giving output same as of jury’s.
Can anybody tell me why codeforces is giving different output for same code ? Is this bug or Am I missing something.