#include <stdio.h>
#include <stdlib.h>io
int IsLeapYear(int year) {
if (year % 400 == 0) {
return 1;
}
if (year % 100 != 0 && year % 4 == 0) {
return 1;
}
return 0;
}di
int main() {
int year = 0;
IsLeapYear(year);
scanf_s("%d", &year);
if (IsLeapYear(year) == 1) {
printf("是閏年");
}
if (IsLeapYear(year) == 0) {
printf("不是閏年");
}
system("pause");
return 0;
}return