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

PROGRAMMING:Programming problem: judge leap year heboost

Luz5年前 (2021-05-10)题库477
According to the year represented by the input positive integer y, calculate whether the output year is a leap year
The criteria of leap year are as follows
Years divisible by 4 and not by 100
Or a year divisible by 400
###Input format:
The value range of input n is [1.. 3000]
###Output format:
It's a leap year
Non leap year, output no
###Input example:
Here is a set of inputs. For example:
```in
one hundred
```
###Output example:
The corresponding output is given here. For example:
```out
no
```







answer:If there is no answer, please comment