I am facing the TLE(time limit exceeded) with Just the IO.
First I was using some logic and faced TLE. Then I resubmitted
the code that was giving just the static answers but still I face
TLE. I am using scanf and printf in c.
Also the problem is said to be in interactive mode. Did you read about that? Make sure ur output is flushed before u take the next input. Else that’ll also be reported as a tle. More has been said about that in previous challenge editorials where the next input depends on pour output.