Run ID:93468

提交时间:2024-10-16 16:27:53

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