Run ID:159160
提交时间:2026-08-26 11:34:08
#include<iostream> using namespace std; int main(){ int year; cin>>year; //闰年判断:4年一润,百年不润,400年又润 。 if((year%4==0&&year%100!=0)||year%400==0){ cout<<"Yes"<<endl; } else{ cout<<"No"<<endl; } return 0; }