摘要: #include <stdio.h>#include <iostream>using namespace std;int main(){ int year; cin >> year; if (year % 4 != 0) cout << "N" << endl; else if (year % 100 == 0 && year % 400 != 0) cout << "N" << endl; else cout << "Y" 阅读全文