#include #include #include using namespace std; int main() { vector Day = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int happyDay = 0; for (int i = 1; i <= 12; i++) { for (int j = 1; j <= Day[i]; j++) { if (i == j /10 % 10 + j % 10) { happyDay++; } } } cout << happyDay << endl; return 0; }