0

How many input i have to get in this probelm?

https://www.sololearn.com/coach/63?ref=app

17th Dec 2019, 10:19 AM
Abdul Wahab
Abdul Wahab - avatar
5 Answers
+ 2
Abdul Wahab , you'll need N + 1 inputs => first is the length of the list and the elements (they are N as a count) in the list.
17th Dec 2019, 10:30 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Abdul Wahab, I think you mean 5, 190 an 88 and you should display the sum of the even elements => 190 +88 = 278 đŸ±
17th Dec 2019, 10:38 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
TheWh¡teCat 🇧🇬 but there is another sample input like this 5 180 78 Output is 260 Why?
17th Dec 2019, 10:32 AM
Abdul Wahab
Abdul Wahab - avatar
0
Lol yes yes. I didn't remember exactly
17th Dec 2019, 10:39 AM
Abdul Wahab
Abdul Wahab - avatar
0
By
17th Dec 2019, 11:21 AM
Nick Nick
Nick Nick - avatar