#include<bits/stdc++.h> using namespace std; int Isleapyear(int y) //判断是否为闰年 { return ((y%100!=0&&y%4==0)||(y%400==0)); } 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}}; //预处理 int main() ...