Run ID:118039

提交时间:2025-04-22 19:39:30

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int years; cin>>years; if((years%4==0 && years%100!=0)||years%400==0){ cout<<years<<" "<<"Yes"; }else{ cout<<years<<" "<<"No"; } return 0; }