๋ฐ์ํ
https://www.acmicpc.net/problem/10797
n = int(input())
cars = map(int, input().split())
ans = 0
for i in cars:
if i is n:
ans += 1
print(ans)
๋ฐ์ํ
'๐ ํ์ด์ฌ ์์ด์ง' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[BOJ][Python] ๋ฐฑ์ค 1010๋ฒ: ๋ค๋ฆฌ ๋๊ธฐ (0) | 2024.09.27 |
---|---|
[BOJ][Python] ๋ฐฑ์ค 10156๋ฒ: ๊ณผ์ (0) | 2024.09.23 |
[BOJ][Python] ๋ฐฑ์ค 10101๋ฒ: ์ผ๊ฐํ ์ธ์ฐ๊ธฐ (1) | 2024.09.18 |
[BOJ][Python] ๋ฐฑ์ค 5543๋ฒ: ์๊ทผ๋ ๋ (0) | 2024.09.17 |
[BOJ][Python] ๋ฐฑ์ค 10039๋ฒ: ํ๊ท ์ ์ (0) | 2024.09.16 |