+ 6
Time limit exceeded
why my code showing time limit exceeded at last when I am keeping i value 69 in line number 47. then it is printing all but when I value 72 to print all group matches then it is printing at last time exceeded https://code.sololearn.com/cpF8XLd8xuNK/?ref=app
6 Antworten
+ 6
kamesh shekhar prasad your code is written correct. But if you want it work properly on sololearn you need some optimization.
+ 5
It normally worked in eclipse. "Time reached" my be sololearn issue. Double for gets a lot of time to compile.
+ 4
kamesh shekhar prasad
It's because the time allowed for a program to execute is limited, somewhere around 0.1 seconds, I think.
+ 3
thanks a lot I will try
+ 3
LunarCoffee ya I realised that I am trying to compress my code
+ 1
Sharofiddin then is it limitations on solo learn compiler to print a limited number of lines or it is issue of more number of variables I declared.