+ 2

Can someone plz help me out ??

I have written a code about finding the properties of a number . But everytime I run it , the output shows 'Time limit exceeded' at the end . Plz tell why it is happening and how to remove it . https://code.sololearn.com/cK8c07X5ZYU9/?ref=app

12th Mar 2018, 12:00 PM
KuSuMiTa
KuSuMiTa - avatar
3 Answers
+ 7
Sololearn Code Playground only allows a code to run only for 5 seconds [ not applicable for web codes ]. Your code is very long and maybe it takes more than 5 seconds to run.
12th Mar 2018, 12:16 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 6
https://www.sololearn.com/discuss/456645/?ref=app You can try to execute your code on a standalone computer.
12th Mar 2018, 12:42 PM
Geo
Geo - avatar
+ 3
thanks a lot @chirag ghosh and @geo
12th Mar 2018, 5:15 PM
KuSuMiTa
KuSuMiTa - avatar