#include <stdio.h>
int main(void)
{
int year;
printf("μ°λλ₯Ό μ
λ ₯νμΈμ: ");
scanf("%d", &year);
if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0){ //400λ
μ κ²½μ° μΌμͺ½μμ false, μ€λ₯Έμͺ½μμλ trueλΌμ orλ‘ ν΄μ£Όκ³ μ΅μ’
μ μΌλ‘ true
printf("μ€λ
μ
λλ€\n");
}
else{
printf("νλ
μ
λλ€\n");
}
return 0;
}