This forum is now read-only. Please use our new forums at

124 points
Submitted by
Vishant Dhiman
almost 3 years ago

fix the compiler

I am writing code of "for loop" in the compiler but it showed me "The program took too long to finish. Check your code for infinite loops and try again" plz suggest a solution for this problem.

0 votes


just click ok on the error, finish typing your code, select all your code, copy the code, refresh the page, paste the code submit.

when you are typing the code if you don't immediately close your loops it will error out. the other solution is to type for (conditions) { } and then move the cursor between the curly braces and finish typing the code.

436 points
Submitted by
Bret Wagner
almost 3 years ago