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

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

I know why this error happens. But i wanted to fix my code.

Can anyone please help me out for finding What's there wrong in my code?? And i how can it...

Problem Link : https://codeforces.com/contest/1339/problem/B My submission link : https://codeforces.com/contest/1339/submission/77065053

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

»
4 года назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

can you explain what you are trying to do (and i'll tell you if it works or not)

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Unexpected end of file usually means that the output of your programm was shorter than expected.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    yeah i have known that by searching about this in some blog... But i couldn't find that what was the error in my blog :( ...could you please help me?

    • »
      »
      »
      4 года назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Sorry, I have no idea how that code is supposed to work. I see that it works for first two testcases, but I cannot understand why.