提交时间:2024-02-01 15:14:07
运行 ID: 39412
#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n%400==0||n%4==0&&n%100!=0) cout<<"Y"; else cout<<"N"; }