__dip__'s blog

By __dip__, history, 5 years ago, In English

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.net/contest/1339/problem/B My submission link : https://codeforces.net/contest/1339/submission/77065053

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

| Write comment?
»
5 years ago, # |
  Vote: I like it +1 Vote: I do not like it

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

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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?

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      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.