+ 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?

29th Nov 2017, 12:06 AM
Rizan
Rizan - avatar
3 Respuestas
+ 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?
29th Nov 2017, 12:16 AM
AgentSmith
+ 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. ;)
29th Nov 2017, 12:26 AM
AgentSmith
+ 1
Nope. Just checking out codes on sololearn (of other people). Sometimes it happens- sometimes it doesn't.
29th Nov 2017, 12:17 AM
Rizan
Rizan - avatar