I solved this problem in CF #705.
But it failed system testing showing
If we compare this two submissions-
This is the only difference.
Definition of see(...) in my code
The main thing is I used cerr for debugging and it got TLE.
Can anyone explain Why did it happen?