+ 5

SoloLearn input

Why does it ask for input before running the code? Itā€™s very annoying to have to add instructions in comments when the code can just ask.

21st Dec 2017, 9:45 PM
Jacob Pembleton
Jacob Pembleton - avatar
3 Answers
+ 3
I mean, if it were to do live inputs, there would be many more ways people could attack the SoloLearn servers. Furthermore, the servers would be under much heavier load from all the requests coming at different times, instead of one request for each code.
22nd Dec 2017, 1:22 AM
LunarCoffee
LunarCoffee - avatar
+ 4
It's an online compiler so, there's no way to get inputs after compilation. That's why it asks you for inputs; if it seems necessary for the program then it puts the inputs as per as the program's requirements, if not then it simply delete the inputs. Understand?
21st Dec 2017, 10:03 PM
Surajit
Surajit - avatar
+ 1
Input like this: first input Second input And so on like this
31st Mar 2020, 1:41 PM
Wade
Wade - avatar