QOJ.ac

QOJ

実行時間制限: 1 s メモリ制限: 2048 MB 満点: 100

#8986. 题目征集

統計

ICPC 北美预选赛(NAQ)的题目征集工作已经结束,共收到了若干道题目。评委们对每道题的难度进行了投票。NAQ 不希望被认为是一场“奇数”竞赛,因此他们拒绝使用任何难度评分为奇数(不能被 2 整除)的题目。

给定候选题目的难度评分,请问有多少道题目因该规则被排除?

输入的第一行包含一个整数 $n$ ($1 \le n \le 50$),表示候选题目的数量。

接下来的 $n$ 行,每行包含一个整数 $d$ ($0 \le d \le 100$),表示 $n$ 道题目的难度评分。

输出一个整数,表示根据该规则被排除的候选题目数量。

样例

输入 1

2
2
3

输出 1

1

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.