- 1
What is time limit exceeded???? java
I wrote this program in java and the console tells me time limit exceeded: public class Program { public static void main(String[] args) { int x=15; { while(x<56); System.out.println(x); x++; } System.out.println("STOOPP!"); } }
1 Answer
+ 15
Sololearn has a limit of lines printed out, so the memory won't be getting full. This is what time memory exceeded means.