#include <iostream> using namespace std; void nextDay(int& year, int& month, int& day) { // 每个月份的天数数组 int dayOfMonth[] = { 0,31,28,31,30,31,30,31,31,30,31,30,31 }; // 是否闰年判断条件 bool isLeap = year % 400 == 0 || year % 4 == 0 && year % 100 != 0; if (isLeap) { dayOfMont...