#P5273. 时间跨度
时间跨度
Description
Input Format
输入包含五行,每行一个正整数,分别代表 ,y,m,d,h,k
保证 2000<=y<=3000,1<=m<=12 ,1<=d<=31 ,0<=h<=23 ,1<=k<=24
数据保证为合法时间
Output Format
2008
2
28
23
12008 2 29 0
Hint
闰年判断规则
普通闰年:年份能被 4 整除,但不能被 100 整除。
世纪闰年:年份能被 400 整除。 满足以上任意一条规则的年份就是闰年,否则是平年。