Run ID:75597

提交时间:2024-05-27 20:57:35

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