AnkanNayak's blog

By AnkanNayak, history, 11 months ago, In English

I was solving this question 1499B - Binary Removals.

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.

  • Vote: I like it
  • -4
  • Vote: I do not like it

»
11 months ago, # |
  Vote: I like it +9 Vote: I do not like it

Auto comment: topic has been updated by AnkanNayak (previous revision, new revision, compare).

»
11 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

change from c++17 to c++20 it more advanced 217232094

»
11 months ago, # |
  Vote: I like it +10 Vote: I do not like it

I am sorry, I downvoted you by mistake