Run ID:5405

提交时间:2024-11-16 09:10:57

#include<iostream> // cin\cout\endl using namespace std; int main(){ int year; cin>>year; cout<<year<<" "; if(year%100==0){ cout<<"Yes"<<endl; } else{ cout<<"No"<<endl; } if(year%4==0){ cout<<"Yes"<<endl; } else{ cout<<"No"<<endl; } return 0; }