提交时间:2023-11-19 19:46:10
运行 ID: 31600
#include<iostream> using namespace std; int main() { int z; cin>>z; if(z%4==0) { cout<<"Y"; } else if(z%400==0) { cout<<"Y"; } else { cout<<"N"; } return 0; }