Run ID:66036
提交时间:2024-03-02 11:10:44
#include<bits/stdc++.h> 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; }