0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
11056: 闰年
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:3
Solved:0
Submit
Submit Record
Statistics
ShowOff!
Description
年份中闰年有366天,比平年365天多一天。闰年的判断方法是:能被400整除,例如2000年,或者能被4整除但不能被100整除,例如1996年,现输入年份,如果是闰年输出"yes",否则输出"no"。
Sample Input
Copy
2000
Sample Output
Copy
yes
Source/Category
基础练习-if语句
洛谷
Submit
Submit Record
Statistics
ShowOff!