-->
当前位置:首页 > 题库

PROGRAMMING:Leap year judgment

Luz5年前 (2021-05-10)题库496
Leap year judgment, the rule is that the year can be divided by 4 but not 100, or the year can be divided by 400 is leap year.
###Input format:
First enter the number of test groups n, and then enter n years y.
###Output format:
If y is a leap year, output yes, otherwise output No.
###Input example:
Here is a set of inputs. For example:
```in
two
two thousand and eight
one thousand and nine hundred
```
###Output example:
The corresponding output is given here. For example:
```out
YES
NO
```







answer:If there is no answer, please comment