+ 1

How to use sleep() function in loop, I give [Time limit exceeded]

This is my test code https://code.sololearn.com/w8d5u579S1cN

13th Sep 2017, 11:13 AM
Lặng
Lặng - avatar
3 Antworten
0
I think it would work outside of sololearn or if you lowered the time it takes being idle so the compiler doesnt think it will be infinite.
13th Sep 2017, 11:31 AM
Enzo
Enzo - avatar
0
thank your respon, but on my server too
13th Sep 2017, 12:35 PM
Lặng
Lặng - avatar
0
I tested it on a local server and it worked fine
13th Sep 2017, 12:38 PM
Enzo
Enzo - avatar