#include<iostream>
using namespace std;
int main() {
int year;
cin >> year;
if (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0))
cout << "yes" << endl;
else cout << "no" << endl;
return 0;
}
试题 基础练习 闰年判断
最新推荐文章于 2024-06-15 18:06:06 发布