#include <cstdio> using namespace std; int dayTab[2][13] = { {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}, {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} }; bool isLeapYear(int year) { //判断是否为闰年 if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) { retur...