#include <cstdio>
int main() {
int n;
scanf("%d",&n);
if(n%4==0 && n%100!=0 || n%400==0) printf("yes");
else printf("no");
return 0;
}
BASIC-1 闰年判断
最新推荐文章于 2020-07-06 07:30:20 发布
#include <cstdio>
int main() {
int n;
scanf("%d",&n);
if(n%4==0 && n%100!=0 || n%400==0) printf("yes");
else printf("no");
return 0;
}