#40323: 邱刀余


11255080@stu.chjh.tp.edu.tw (1120631廖晨恩)


#include <iostream>

using namespace std;

int main()
{
    int y;
   cin>>y;
   if(y%4==0&&y%100!=0||y%400==0)cout<<"a leap year"<<endl;
    else cout<<"a normal year"<<endl;

    return 0;
}

#40325: Re: 邱刀余


11255080@stu.chjh.tp.edu.tw (1120631廖晨恩)


#include

using namespace std;

int main()
{
    int y;
   cin>>y;
   if(y%4==0&&y%100!=0||y%400==0)cout<<"a leap year"<    else cout<<"a normal year"<

    return 0;
}邱刀余