Run ID:154139
提交时间:2026-05-24 15:32:04
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a % 400 == 0){ cout<<"yes"; }else{ if(a % 400 == 1 and a % 100 ==1 anda % 4 == 0){ cout<<"yes"; }else{ if(a % 400 == 1 and a % 100 == 0){ cout<<"no"; } } } }