提交时间:2026-01-04 14:51:18

运行 ID: 79902

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