Run ID:87624

提交时间:2024-08-10 21:38:49

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