-Code
now_date = list(map(int, input().split('-')))
res = 0
for _ in range(int(input())):
gift_date = list(map(int, input().split('-')))
if gift_date >= now_date:
res += 1
print(res)
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 30999번 민주주의 (1) | 2023.12.26 |
---|---|
[백준/파이썬] 29863번 Arno's Sleep Schedule (0) | 2023.12.25 |
[백준/파이썬] 21022번 Three Points for a Win (1) | 2023.12.23 |
[백준/파이썬] 20282번 Game Show! (0) | 2023.12.22 |
[백준/파이썬] 25774번 Simplified Calendar System (0) | 2023.12.21 |