close
Problem Description
珊珊終於學成歸國了,文文的考驗時刻也到了。走出了迎客大廳,珊珊問:「What type of year was I born in?」文文很有自信的回答:「閏年!」可是珊珊卻說:「No, It was a LEAP YEAR!」看來文文要娶到珊珊,還得先把英文練一練。
The Input
輸入只有一行,其中含有一個正整數 y,代表珊珊生日的西元年份。
The Output
若 y 是閏年,請輸出「a leap year」,否則請輸出「a normal year」
Sample Input
1992
Sample Output
a leap year
-----* Problem from【ZeroJudge, an Online Judge System For Beginners】
My Answer
1 2 3 4 5 6 7 8 9 10 11 12 |
|
||
全站熱搜