#include <iostream> #include <cstdio> using namespace std; bool IsLeapYear(int year){ return (year % 4 == 0 && year % 100 != 0) || (year % 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 yeartab[2]...