#include <iostream>
using namespace std;
int main()
{
int x;
cin >> x;
if( x%4 ==0 )
{
if( x%100 == 0)
{
if( x%400 == 0)
{
cout << "閏年" << endl;
}
else
{
cout << "平年" << endl;
}
}
else
{
cout << "閏年" << endl;
}
}
else
{
cout << "平年" << endl;
}
return 0;
}
我哪裡錯了,一直WA?