提交时间:2021-06-06 19:22:24

运行 ID: 20282

#include<bits/stdc++.h> using namespace std; int main(){ int y; cin>>y; if(y%4==0){ if(y%100==0&&y%400!=0) cout<<"No"; else cout<<"Yes"; }else{ cout<<"No"; } return 0; }