提交时间:2021-06-12 16:13:06
运行 ID: 20398
#include <iostream> using namespace std; int main(){ int year; cin >> year; if(year % 4 == 0){ if(year % 100 == 0){ if (year % 400 == 0) cout << "Yes"; else cout <<"No"; } else cout <<"Yes"; } else cout <<"No"; return 0; }