#include <iostream> using namespace std; #include <iomanip> int month[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; int main(){ int y,n,flag = 0; while(cin >>y>>n){ int i,temp = n; //判断闰年 if (y % 4 == 0 && y %100 != 0 || y%400 == 0){ month[2]=29; } ...