I was solving this question [problem:https://codeforces.net/contest/1499/problem/B].
When I am using 'int' instead of 'long long', it's getting accepted 217216005. But in the long long code 217215826, My VS code is giving me correct output ,but when I am submitting the same code in Codeforces, the output is getting changed for the given test cases.
I just want to know why is that happening & how to fix this?
Request: If you can't help me,fine.Atleast don't downvote me.It refrains people like me to ask questions.