HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50288 - Even numbers in even positions

Guest
• Discussion of problem (1)

Section problems

• 50401 - Sum of Odd Numbers
• 50365 - Sum of the numbers from a...
• 50390 - Total Salary Paid
• 50400 - nth Row rth Element of a Table
• 50292 - Average of 4 Marks
• 50462 - Class Average (3 Grades)
• 50439 - Telephone Calls
• 50436 - Pocket Money
• 50288 - Even numbers in even ...
• 50299 - Median
• 50571 - Armstrong Numbers - 2
• 50572 - Palindromic Numbers
• 50582 - Number of digits
• 50583 - Max of 3 numbers
• 50585 - Inner Product
• 50587 - Modular Conversion
• 50633 - The prime factors

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