d072. ๆ ผ็‘žๅ“ฅ้‡Œ็š„็…ฉๆƒฑ (Case ็‰ˆ) 5/16/2025

่งฃๆณ•ไธ€

โœ… ๅฎŒๆ•ดไปฃ็ขผ

่ฉ•ๅˆ†็ตๆžœ(ๅƒ่€ƒ) ๏ผš AC (2ms, 324KB)

#include<bits/stdc++.h>
using namespace std;

int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int t;
    cin >> t;

    for(int i=0; i<t; i++){
        int year;
        cin >> year;
        cout << "Case " << i+1 << ": ";
        if((year%4==0 && year%100!=0)||year%400==0) cout << "a leap year\n";
        else cout << "a normal year\n";
    }

    return 0;
}