#include <iostream> using namespace std; int dayTable[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) { //判断是否为闰年 return (...