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
Td>
|
Output
td> |
5
1 2 4 5 6
Td>
|
1
| tr>
Для отправки решений необходимо выполнить вход.
|