26th Mar 2019, 3:54 PM
Rodrigo Martín
Rodrigo Martín - avatar
1 ответ
0
https://code.sololearn.com/cFwyLiYq2OzS/?ref=app I didn't understand what the array was for, but in any case you were checking it before there was anything in it (while it was uninitialized). I removed that, and replaced it with a simple while (num != 0); (and changed the second if to an else if), and it now works like a charm.
26th Mar 2019, 4:31 PM
Vlad Serbu
Vlad Serbu - avatar
OSZAR »