+ 1

Perfect numbers between 1 and 10000

Hello i try to write a program that prints perfect numbers between 1 and 10000,please what's wrong with my code oo it's not working https://code.sololearn.com/cad1Qov3wV5M/?ref=app

26th Jan 2019, 10:52 PM
tobi emma Oladele
tobi emma Oladele - avatar
4 odpowiedzi
+ 2
It's working fine for me. Maybe you're getting a "Time Limit Exceeded" message; try with a smaller range.
26th Jan 2019, 11:14 PM
Diego
Diego - avatar
27th Jan 2019, 6:44 AM
Diego
Diego - avatar
0
It's working if i set the maximum to 1000,but why isn't it working for 10000
27th Jan 2019, 5:11 AM
tobi emma Oladele
tobi emma Oladele - avatar
0
Thanks so much Boss
27th Jan 2019, 7:41 AM
tobi emma Oladele
tobi emma Oladele - avatar