#include
int isLunar(int year)
{
if(((year %4 == 0)&&(year%100!=0))||(year%400==0))
return 0;
return 1;
}
int main()
{
int start, end;
printf("请输入年份范围,空格隔开:");
scanf("%d %d", &start, &end);
for (int i = start; i <= end; i ++)
{
if (isLunar(i) == 0)
printf("%d ", i);
}
return 0;
}