
哈希
old_boy_1991
这个作者很懒,什么都没留下…
展开
-
日期类-日期差值
题目描述:有两个日期,求两个日期之间的天数,如果两个日期是连续的我们规定他们之间的天数为两天输入:有多组数据,每组数据有两行,分别表示两个日期,形式为YYYYMMDD输出:每组数据输出一行,即日期差值样例输入:2011041220110422样例输出:11#includebool isLeapYear(i原创 2014-08-17 21:55:03 · 447 阅读 · 0 评论 -
日期类-求星期几
题目描述:We now use the Gregorian style of dating in Russia. The leap years are years with number divisible by 4 but not divisible by 100, or divisible by 400.For example, years 2004, 2180 and 2400原创 2014-08-17 23:01:31 · 532 阅读 · 0 评论