dreamta1e
dreamta1e
全部文章
题解
归档
标签
去牛客网
登录
/
注册
dreamta1e的博客
全部文章
/ 题解
(共2篇)
思考
不考虑闰年的话,就考虑输入的是月末和年末两种边界情况了 #include <iostream> #include <cstdio> using namespace std; int monthtab[13]={0,31,28,31,30,31,30,31,31,30,31...
2021-01-14
1
421
日期差值暴力模拟
#include <iostream> #include <cstdio> using namespace std; bool IsLeapYear(int year){ return (year % 4 == 0 && year % 100 !=...
2021-01-14
0
492