Run ID:86922

提交时间:2024-07-29 21:36:17

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