0
Why is there a time limit exceeded warning?
6 Antworten
0
You can scan in batches (like: 70-80 million, then 80-90 million) to stay under the time limit imposed by the server, but I think you have the answers covered with a smaller range :)
+ 4
When your device has no time to execute your code. You get the output of this code.
Time limit exceeded
+ 1
You don't tell us how to duplicate the error, so I'm assuming your inputs are probably too large and it takes too long to run.
If your inputs are normal and it should finish in a few seconds, what inputs are you using?
0
Yah sorry.. The Input I entered was too large
0
Input:0 99999999
0
Kirk Schafer when I have #include <conio.h> , getch(); and void main() instead of int main() and return 0; there is still time limite exceeded in this compiler but runs at ease on devC++ as saved as .c