#28750: C解 那有D嗎?


thelazysong0428@gmail.com (黃國風)


#include <stdio.h>
main () 
{
int a;
while(scanf("%d",&a) != EOF) 
{
if ((a & 3) == 0 && ((a % 25) != 0 || (a & 12) == 0))
printf("閏年\n");
else
printf("平年\n");
}
return 0;
}