提交时间:2024-01-22 19:38:43

运行 ID: 37716

#include <bits/stdc++.h> using namesapce std; int main(){ int x; cin >> x; if(x%400==0 or (x%4==0 and x%100!=0)) cout << "Y"; else cout << "N"; return 0; }