BOJ - 10797번 10부제 (Python)

문제 출처: https://www.acmicpc.net/problem/10797

난이도

Bronze 4


통과 코드

if __name__ == '__main__':
    day = int(input())
    arr = list(map(int,input().split()))
    count = 0
    for x in arr:
        if x == day:
            count += 1
    print(count)

좋은 웹페이지 즐겨찾기