Skip to content

Commit

Permalink
[Bronze V] Title: Call for Problems, Time: 32 ms, Memory: 31120 KB -B…
Browse files Browse the repository at this point in the history
…aekjoonHub
  • Loading branch information
Youn-Rha committed Oct 19, 2024
1 parent a2ba8ae commit 08be61b
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import sys

# sys.setrecursionlimit(100000)


def input():
return sys.stdin.readline()


# main
if __name__ == "__main__":
N = int(input())
cnt = 0
for _ in range(N):
if int(input()) % 2 != 0:
cnt += 1
print(cnt)
32 changes: 32 additions & 0 deletions 백준/Bronze/32498. Call for Problems/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# [Bronze V] Call for Problems - 32498

[문제 링크](https://www.acmicpc.net/problem/32498)

### 성능 요약

메모리: 31120 KB, 시간: 32 ms

### 분류

구현, 수학

### 제출 일자

2024년 10월 19일 17:50:18

### 문제 설명

<p>The Call for Problems for the ICPC North America Qualifier (NAQ) has finished, and a number of problems were proposed. The judges voted on the difficulty of each problem. The NAQ does not want to be considered an odd contest, so therefore they refuse to use any problem which has an odd number (not divisible by two) for a difficulty rating.</p>

<p>Given the difficulty ratings of the candidate problems, how many were excluded by this rule?</p>

### 입력

<p>The first line of input contains a single integer $n$ ($1≤n≤50$), which is the number of candidate problems.</p>

<p>Each of the next 𝑛n lines contains a single integer $d$ ($0≤d≤100$), which are the difficulty ratings of the $n$ problems.</p>

### 출력

<p>Output a single integer, which is the number of candidate problems excluded by the rule.</p>

0 comments on commit 08be61b

Please sign in to comment.