📦 Changgo/🐍 파이썬 생초짜

[BOJ][Python] 백준 10797번: 10부제

선달 2024. 9. 22. 04:20
반응형

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)
반응형