반응형
https://www.acmicpc.net/problem/2753
# @Author YoungMinKim
# baekjoon
year= int(input())
if year%4 == 0:
if (year%100 != 0) or (year%400==0):
print(1)
else:
print(0)
else:
print(0)
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 2884 (0) | 2020.08.26 |
---|---|
baekjoon - python - 2864 (0) | 2020.08.26 |
baekjoon - python - 2751 (0) | 2020.08.25 |
baekjoon - python - 2750 (0) | 2020.08.25 |
baekjoon - python - 2742 (0) | 2020.08.25 |
댓글