My solution this failed the system test case in the Educational Codeforces Round 85 [Rated for Div. 2] giving tle verdict. But when I submitted the same code this after the contest it was accepted. Please anyone can help me what could have happened wrong.
MikeMirzayanov sir can you please take a look into this matter.
And I apologize for my bad English.
Do not use endl, use '\n' instead of this. Endl is also flushing output which takes a long time. I submitted your code 76261395 with '\n' and it took 592ms. While the system testing load on servers is higher, so solutions can run slower.
Ok fine I will remember it from next time. But my same solution got accepted after the contest. So I will not be getting points for my correct solution?
I don't know, but I think you won't get points.