Блог пользователя shivam_360

Автор shivam_360, история, 4 года назад, По-английски

can anyone explain this why https://codeforces.me/contest/18/submission/172558206 this solution gets accepted while https://codeforces.me/contest/18/submission/172557506 this is giving wrong answer for problem https://codeforces.me/contest/18/problem/C

Isn't both the same thing??

  • Проголосовать: нравится
  • -17
  • Проголосовать: не нравится

»
4 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Oh, finally.

The problem is in this line:

Spoiler

I think this test case will help you understand:

test case