반응형

Prob


Approach

기본 문법


Code

a = int(input())
if (a % 4) == 0 :
    if(a % 400) == 0 :
        print(1)
    elif(a % 100) == 0 :
        print(0)
    else :
        print(1)
else : print(0)

 

출처

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

반응형
블로그 이미지

Refrin

일상생활 끄적 IT 프로젝트 끄적