https://www.codechef.com/viewsolution/37950381
My code is working fine for the given testcases.
Time limit should be 1.0 sec but mine is 1.01sec.
I tried, but couldn’t decrease the time limit.
please, help me to decrease the time limit from 1.01 sec to 1.0sec
Hello, you may not know how time limit works, 1.01 doesn’t mean its 1.01, it just means >=1.01,
even if ur code is 100 seconds, code chef wont run it for 100 seconds ,it stops at 1.01 and gives you tle
1 Like
Thank you for explaining about the time limit exceed in codechef platform.
It helped me a lot.