Time Limit Exceeded (-1 Seconds)

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!

1 Like

Oh okay thank you very much