#include <cstdio> using namespace std; int days[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; bool is_leap(int year) { return year % 400 == 0 || year % 4 == 0 && year % 100 != 0; } int get(int year, int month) { if (month == 2) return 28 + is_leap(year); return ...