[백준] 10797번 : 10부제 - Python(파이썬)

강재원·2022년 9월 13일
0

[코딩테스트] Python

목록 보기
29/200



https://www.acmicpc.net/problem/10797

n=int(input())
a,b,c,d,e=map(int,input().split())
count=0
if n==a: count+=1
if n==b: count+=1
if n==c: count+=1
if n==d: count+=1
if n==e: count+=1

print(count)
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글