본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 17851번 This Problem’s a Slam Dunk

by 현장 2023. 7. 6.

-Code

u_state = sorted(list(map(int, input().split())))
state_u = sorted(list(map(int, input().split())))
res = 0

for i in range(5):
    if u_state[i] > state_u[i]:
        res += 1
print(res)