#include #include #include using namespace std; using ll = long long; //188 int main() { int days[13] = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; int count = 0; for (int month = 1; month <= 12; month++) for (int day = 1; day <= days[month]; day++) if (month == day % 10 + day / 10) count++; printf("%d\n", count); }