提交时间:2024-01-30 17:45:42
运行 ID: 39084
#include<iostream> using namespace std; int main() { int year; cin>>year; if(year%4==0&&year%100!=0||year%400==0){ cout<<"Yes"; } else{ cout<<year<<" No"; } return 0; }