HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50288 - Even numbers in even positions

Guest
• Discussion of problem (1)

Section problems

• 50439 - Telephone Calls
• 50436 - Pocket Money
• 50379 - a^b modulus k
• 50353 - Cube of the Largest number
• 50359 - Mode of a Series
• 50539 - Number of Chairs - 2
• 50532 - Close City
• 50462 - Class Average (3 Grades)
• 50288 - Even numbers in even ...
• 50372 - Number Quadruplets
• 51007 - Function f(x)
• 50896 - Sum of Even Numbers
• 50903 - Basic Math Calculator
• Cineplexx
• Cirku Belluci
• 50659 - Covariance Matrix
• El Clasico

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Ibrahim Mesecan. Difficulty Alpha

You are given a sequence of numbers. Count the even numbers which are also in even positions.
Please note that the first number is in the first position.

Input
Introduce the first number N , and then N numbers - the terms of the sequence.
Output
Display the number of even numbers on even positions in the sequence.

Input Output
5
1 2 4 5 6
1

Для отправки решений необходимо выполнить вход.

www.contester.ru