0
Time limit
why, in cpp, when I run my program he returns me 'time limit exceeded'? and how can I solve it?
3 Answers
+ 2
Maybe you have an infinite loop?
+ 1
Yeah, a online compiler and runner has usually a time limit set. But it is enough to run usual programs.
You have a bug as infinite loop in your program, or this may be a very long execution of this program, in minutes, hours.
So, at first check a debug this infinitive loop. If it ok-and you need run such long program. You can instal a compiler in your computer, compile your progam and run it locally. Or you can hire some online server with compilation and running without time limit.
0
no. there is an end point
can I tag u so u can see?