+ 2

How to avoid "limit time exceeded" in c with sololearn

My program prints thousands of results, but if I put very large numbers the dialogue "limit time exceeded" appears, my program is small and the results are finite, how is it that I can make the results appear for large numbers? This program calculates and multiplies in a certain interval. Example the crazy number is 5 and the level in 20 print 5 14 There are 2 numbers that when adding their digits give 5. https://code.sololearn.com/cL2X8issk1b8/?ref=app

16th Jul 2018, 6:45 PM
Daniel Orihuela
Daniel Orihuela - avatar
1 Answer
+ 3
Download Visual Studio and write/execute your program there. Basically, you're bound by their server and the limits on resources (prevents abuse situation for their servers). Although it's annoying when you're trying to do something, trust me it's a very necessary mechanism to have in place here. I don't program from my cell phone, so I don't know if there are other methods to do C# from your phone. However, on the PC you can easily use VS and it's free.
16th Jul 2018, 6:48 PM
Fata1 Err0r
Fata1 Err0r - avatar