0
Why my code is resulting in a EOF error in the end?
4 odpowiedzi
+ 5
Because you put the whole thing in an infinite loop without a break condition, so it will expect input until the end of time
+ 4
Yes, exactly 👍
0
I was expecting to ask for input forever so that you can put other numbers if you want... In the other "editor" that I have in my cellphone there isn't this error. It just asks for another number instead.
Oh... I think I got it. The way that solo learn asks for input is diferent... It asks all the input necessary in just once time... It is that?
0
your code executing duration must be under 5 secs to run in sololearn