tag: 枚举 思路1 根据年份,构造回文日期,用check函数判断。 #include <iostream> #include <cstring> #include <algorithm> #include <unordered_map> using namespace std; unordered_map<int, int> mp = {{1, 31}, {3, 31}, {4, 30}, {5, 31}, {6, 30}, {7, 31}, {8, 31}, {9, 30}, {10, 31}, {11, 30}, {12, 3...