When attempting COVDSMPL, I kept on getting TLE with time of -1 seconds. Does anyone know what that means?
I also got the same error which got resolved when I flushed my output after printing each output and replaced cout<<"\n" with cout<<endl. The following link helped me : Interactive Problems and the way to deal with them!
Oh okay thank you very much