#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}; if(year%400==0 || (year%4==0 && year%100!=0)){ //闰年 dayOfMonth[2]=29; } else dayOfMonth[2]=28; day++; if(day>dayOfMon...