#include <bits/stdc++.h>
using namespace std;
typedef struct date {
int year;
int month;
int day;
}date;
//闰年判断
bool is366 (int year) {
if (year % 4 == 0 && year % 100 != 0)
return true;
if (year % 400 == 0)
return true;
return false;
}
int main () ...