+ 12

What does this mean when it is the only output : time limit exceeded??

20th Apr 2017, 8:41 PM
Saja Husam
Saja Husam - avatar
5 Answers
+ 16
"time limit exceeded" means that your program has not executed within the established time limit. A common case for this problem is an infinite loop,where the loop keeps running until the time limit of your program has been reached.
20th Apr 2017, 8:51 PM
ElricTheCoder
ElricTheCoder - avatar
+ 14
@Saja recheck for any errors in your code.
20th Apr 2017, 8:55 PM
ElricTheCoder
ElricTheCoder - avatar
+ 11
mmm , i got it .. my code keep giving me that but i dont know why !
20th Apr 2017, 8:52 PM
Saja Husam
Saja Husam - avatar
+ 10
it would tell me that there is an error .. I'm 100% sure about the code as I traced it by myself and it was working !
20th Apr 2017, 9:01 PM
Saja Husam
Saja Husam - avatar
+ 9
Code playground stops codes after a certain amount of time. I get this sometimes with my 'pirate wars' code. If there's no errors, run time is to long for code playground. Though, it's likely just what Tiyam said.
20th Apr 2017, 9:35 PM
Rrestoring faith
Rrestoring faith - avatar