#include <iostream> #include <string> using namespace std; int D1[14] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int D2[14] = {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; bool isLeap(int year) { if (year % 100 != 0 && year % 4 == 0 || year % 400 == 0) ...