#include<stdio.h>
int main()
{
int i,j;
int y1,y2,count=0;
scanf("%d%d",&y1,&y2);
for(i=y1;i<=y2;i++)
{if(i%4==0&&i%100!=0||i%400==0){printf("%d ",i);count++;
}if(count==5){printf("\n");count=0;
}
}
return 0;
}
标签:count,int,11.14,printf,y1,y2,i% From: https://blog.51cto.com/u_15758636/5849101