Hello, Codeforces!
You are on a contest. Invented and implemented solution. Tested it good amount of time. With absolutely confident motion you click SUBMIT and... get WA #PUT_A_BIG_NUMBER_HERE
.
You double-checked everything and convinced yourself that your solution is flawless. Or maybe you found and fixed some insignificant bugs and resubmit with same result.
Your logic tells you: "Solution passed so many tests. It cannot be wrong!"
You look at the timer. Seconds go faster than ever in your life. And you just sitting there helpless/in panic with (almost)SOLVED task.
Contest finishes, you understand that this problem COULD move you like 10/100/1000/... positions up in standings.
I believe most of you has encountered such a moment. As for myself, this happens to me unacceptably often. And every time it brakes my mood in pieces. And worst of all, I cannot do anything to prevent this in future. And it happens over and over again.
I ask you for advice, guys. What should one do in such situations?