#include constexpr int count() { int month[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int counter=0; for(int i=1; i<=12; ++i) { for(int d=1; d<=month[i]; ++d) { if(i == (d%10 + d/10))counter++; } } return counter; } int main() { constexpr int c = count(); std::cout<