공부/알고리즘, 백준

백준 2753번 파이썬

Excidus 2023. 1. 2. 13:10
year=int(input())
if year%4==0 and year%100!=0 or year%400==0:
    print(1)
else:
    print(0)