#1889. 计算某年某月的天数
计算某年某月的天数
Description
输入x和y,输出x年y月有多少天
Input Format
两个正数x和y,分别表示年份和月份(x在int范围内,y为1~12);
Output Format
一个正数,表示该月的天数
2004
2
29
Hint
1、3、5、7、8、10、12月为31天
4、6、9、11月为30天
2月在闰年为29天 不是闰年为28天