+ 3
Code coach: that's odd (solved)
I don't understand how should be the input of the values. Does it expect the user going inserting the numbers by an input or generated automatically? Below my code. https://code.sololearn.com/cxqtYKNRuA6H/?ref=app
4 Answers
+ 12
The first line denotes N, the number of numbers.
The next N lines denote the individual entries.
You have not implemented that yet. Try these test cases:
Input 1: 4
1
3
2
2
Output 1: 4
Input 2: 7
1
3
5
7
9
2
8
Output: 10
Input 3:1
5
Output 3:0
+ 7
Great
+ 3
Thank you, 🌟(Pro)metheus 🇸🇬 I understood the problem, so now it is solved. Yes it was expecting multiple input by the user.
+ 2