+ 1
I have learned C, C++ and java but I have some difficulty in outputting any programme how can I solve this problem?
5 Respuestas
+ 2
Here in SoloLearn long loops are aborted since the program runs in a virtual environment that gives only a small time frame to execute the code else giving a time limit exceeded error. Only JavaScript can run longer or infinite loops since it runs in a WebView. Unfortunately there is no way to avoid it so if you don't use JS you are limited to just few iterations
+ 1
What kind of difficulty?
+ 1
That's why my program doesn't work
https://code.sololearn.com/cer1a9mTPGZ8/?ref=app
0
In loops i cant find how many times it runs
0
Exactly, there are many loops with many iteration each. There is no way you can run this in SoloLearn unless you can refactor your code to have the minimum amount of loops possible