#include <iostream> using namespace std; //平年每一个月的天数 int data1[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; //闰年每一个月的天数 int data2[] = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; bool check(int x) { //用来判断年是不是闰年 if ((x % 400 == 0) || (x % 4 == 0 && x % 100 != 0)) { return...