abhi_201002's blog

By abhi_201002, history, 3 years ago, In English

codeforces is giving different answer what other compilers are giving

https://mirror.codeforces.com/contest/1419/submission/142053716 142053716

It is giving that 7th number output is 1 whereas expected is 2 BUT when i copy paste the same test 7th number input to my compiler it is giving 2 only. Please tell me where i can improve it

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

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

long long cannot contain the input here, this leads to weird behaviour (?)

The numbers are too big (read the problem input statement)