0
what is time limit? in the output
#include <iostream> using namespace std; int main () { int num = 1; while (num < 1000) { cout <<"Number: " << num << endl; num = num + 1; } return 0; } when I run this code it displays in the output number upto 323 and then the time limit exceeded. can someone explain that??
2 Answers
+ 5
SoloLearn provides a limited amount of cpu time before stopping your program from running on their server.