0
Any way to change the 'timeout' function in Playground?
I created what should work as a CPU benchmark by repeating calculations, but needs 60 seconds to get a more 'accurate' mark. My issue is that while Code Playground tests my program, it refuses to run the full 60 seconds. It will run approximately 5 then 'timeout'. Can I change this function in the Playground?
3 ответов
+ 12
Nope, sorry. If your code takes too long to run on their servers, it stops early and you're sent the "timeout" warning instead of your output. I don't think you can take up longer than 30 seconds or so.
You might have to test it on a computer instead. :(
+ 12
Unfortunately this remains part of the Code Playground limitations.
+ 5
Every IDE will have a system timeout exception. i am not sure if Sololearn IDE supports Async, but try and make the process async and meanwhile make your system do some other task so that it disturbs itself to not get a timeout exception.