Time limit exceeded? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Time limit exceeded?

I'm new here, and also very new to java, and I don't know if this is just my computer or something, but when I try to run a program in Java, sometimes, when it's halfway through running, it'll stop and say: "Time limit exceeded" Is there anyway to avoid and/or stop this completely?

22nd Apr 2018, 3:54 PM
Logan Willis
Logan Willis - avatar
2 ответов
+ 1
Avoid infinite/long loops
22nd Apr 2018, 4:07 PM
KrOW
KrOW - avatar
+ 1
Run your code outside of SL instead.. The SL Playground, is more for sharing code to learn from others, or to showcase basic code. Any code requiring lots of processing will often time-out in SL.
22nd Apr 2018, 4:43 PM
Emma