摘要:
题目要求 If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen si 阅读全文
摘要:
题目要求 有两个日期,求两个日期之间的天数,如果两个日期是连续的,规定他们之间的天数为两天。 代码 /*日期差值*/ #include<cstdio> //平年和闰年每个月的天数 int month[13][2] = { {0,0},{31,31},{28,29} }; //判断是否为闰年 bool 阅读全文