+ 1
What is wrong with my code?
I am doing the challenge "That's odd" and made this code that works fine on PC for but only prints "0" on Samsung android help? https://code.sololearn.com/c3Hqro7ADXBt/?ref=app
2 ответов
+ 1
I meant in the challenge Console and the console on computer and phone works fine.
0
You are reading only one line.
Read again the description, eg:
Input Format:
The first input denotes the length of the list (N). The next N lines contain the list elements as integers.