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

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

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

Isn't both the same thing??

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

»
19 месяцев назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

Oh, finally.

The problem is in this line:

Spoiler

I think this test case will help you understand:

test case