#38958: C++解答


Ghost543 (The Ghost)


#include <iostream>
using namespace std;
int main() {
    int a=0;
    while(cin>>a){
        if (a%4!=0||a%100==0&&a%400!=0) cout<<"平年";
        else cout<<"閏年";
        cout<<"\n";
    }
}