解法一
✅ 完整代碼
評分結果(參考) : AC (2ms, 320KB)
#include<bits/stdc++.h>
using namespace std;
int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    int year;
    while(cin >> year){
        if((year%4==0 && year%100!=0)||year%400==0) cout << "a leap year\n";
        else cout << "a normal year\n";
    }
    return 0;
}