+ 1
how to terminate an infinite loop?
How to terminate an infinite loop in this app in the playground area? and in a regular ide format. I saw that for this app there's a time limit for the code to run. Is it just for infinite loops or for any type of code?
2 Réponses
+ 11
The time limit is set to prevent programs from taking up too much server resource, because Code Playground is an online IDE. The time limit will also be reached if your code is sufficiently long / contains too many instructions. This will not happen if you compiled your program on desktop. The program will either run until all instructions are complete, or run indefinitely, given an infinite loop.
0
Awesome, thank you!!