Programming/Python & Data Structures
[Baekjoon/Python3] 10797번 10부제
HooNeee
2020. 12. 6. 18:03
[Baekjoon/Python3] 10797번 10부제
10797번: 10부제
서울시는 6월 1일부터 교통 혼잡을 막기 위해서 자동차 10부제를 시행한다. 자동차 10부제는 자동차 번호의 일의 자리 숫자와 날짜의 일의 자리 숫자가 일치하면 해당 자동차의 운행을 금지하는
www.acmicpc.net
n = int(input())
nums = list(map(int, input().split()))
print(nums.count(n))