HELP !

Revision en1, by AnkanNayak, 2023-08-05 12:12:17

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.

Tags help, educational rounds

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English AnkanNayak 2023-08-05 12:13:37 40
en1 English AnkanNayak 2023-08-05 12:12:17 571 Initial revision (published)