#include
using namespace std;
int main (){
int x ;
cin >> x;
if(x%4000)
cout << “YES” << endl;
else
if(x%40)
if(x%100 !=0)
cout << “YES” << endl;
else
cout << “NO” << endl;
else
cout << “NO” << endl;
return 0;
}
C++判断是否为闰年
最新推荐文章于 2024-05-04 13:38:58 发布