Run ID:144781

提交时间:2026-01-24 18:43:45

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