+ 2

Is it possible to enter c++ inputs in sololearn code place!?

I need to practice coding but, I'm in a situation right now which i only can use phone for that. Does anyone have any suggestion, to help me with c++ input in sololearn?

25th Apr 2021, 1:26 PM
khatere🌻
khatere🌻 - avatar
8 ответов
+ 1
Yes, but you have to provide all input data at once, when you run your code
25th Apr 2021, 1:44 PM
Michal Doruch
+ 1
khatere🌻 Yes, it's possible to give C++ inputs in sololearn.. What you have to do is, just enter inputs that you wanted to give through the input box(kinda dialog box that appears when you click on the "RUN" button) and then click on submit.. It's simple!!
25th Apr 2021, 1:46 PM
sarada lakshmi
sarada lakshmi - avatar
+ 1
sarada lakshmi but there is no dialog box available for me.. it goes for output directly
25th Apr 2021, 1:49 PM
khatere🌻
khatere🌻 - avatar
+ 1
Click on run bottom, then you get a dialog box to enter inputs
25th Apr 2021, 1:50 PM
sarada lakshmi
sarada lakshmi - avatar
+ 1
sarada lakshmi Michał Doruch yea! That's what am doing and it's going for output! I guess it happens cuz my input is string! Any solution?
25th Apr 2021, 1:52 PM
khatere🌻
khatere🌻 - avatar
+ 1
It's not gonna display the i/p you've taken like the compilers that we use daily.. It just directly gives the o/p from the given i/p
25th Apr 2021, 1:53 PM
sarada lakshmi
sarada lakshmi - avatar
+ 1
sarada lakshmi sorry! I didn't get you
25th Apr 2021, 1:55 PM
khatere🌻
khatere🌻 - avatar
0
I think you need to share the code link for analysis. Without a closer look it's hard to tell what the problem is. https://www.sololearn.com/post/75089/?ref=app
25th Apr 2021, 1:57 PM
Ipang