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
can you explain what you are trying to do (and i'll tell you if it works or not)
Unexpected end of file
usually means that the output of your programm was shorter than expected.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?
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.