+ 1

my code worked properly on codeblocks, why isn't it working properly on sololearn?

my code worked properly on codeblocks, but when I tried to run it in sololearn playground it isn't working properly. Are there any mistakes in this code? https://code.sololearn.com/cH716vKsRtCs

3rd Oct 2021, 4:04 AM
Saikiran Choda
Saikiran Choda - avatar
1 Odpowiedź
+ 9
Saikiran Choda Because Sololearn doens't support input one by one. You have to take all inputs together with new lines like AJ 5 1
3rd Oct 2021, 4:07 AM
A͢J
A͢J - avatar