+ 1
I watched some one run this code before but there's didn't run out of execution time but mine does
does anyone know the problem code URL https://code.sololearn.com/cz0xoufRhcfq
1 Respuesta
+ 3
John Anderson
that's an infinite loop. it will run forever even after the end of UNIVERSE😱😱
you must break out of the loop after certain condition
sololearn code compiler has intentionally stopped your code execution. i think it's done to save memory or the app will crash.
you can run this code on a computer system, there it will run forever
https://code.sololearn.com/cag7JMb2Y4Ln/?ref=app