+ 1
When I try to run some codes on sololearn, why does it say, "Looks like your program needs input. Input to split lines.." ?
Or something like that. Is it a println method or just something not programmed?
3 odpowiedzi
+ 3
It's asking for whatever you have in your code that's asking for input. You have to put all input in at the beginning because it's being compiled on the server and returned to you as output.
You using any scanners or anything like that?
+ 3
Gotcha. If their code requires any type of user input, you'll get that prompt at the beginning. The unfortunate side of it is that you can't really tell what input it requires unless you read the code, but I suppose that's a learning lesson also. ;)
+ 1
Nope. Just checking out codes on sololearn (of other people). Sometimes it happens- sometimes it doesn't.