提交时间:2024-01-23 16:38:33

运行 ID: 125247

#include<iostream> using namespace std; int main(){ int year; cin>>year; if((year%4==0 and year%100!=0) or (year%400==0)){ cout<<"Y"; }else{ cout<<"N"; } return 0; }