+ 1
Timed Inputs C++
Solocode has me entering my inputs before the code starts, how do I set it to where I only input when prompted?
3 Respostas
+ 4
Unfortunately, you can't, as the code saved is compiled and executed on the server, and that is why all possible input must be supplied before the program is executed.
+ 1
All online compilers work the same way, and will prompt to provide input before execution.
The only solution is to install an application that provides an offline compiler, like CxxDroid or CppDroid, or a command line utility, like Termux, to install a compiler yourself. For a list of some useful apps providing offline compilers and interpreters, you can visit this post:
https://www.sololearn.com/discuss/366870/?ref=app
0
Well that sucks, anywhere I can do that?