#include using namespace std; int main() { int daylist[] = {31,28,31,30,31,30,31,31,30,31,30,31}; int count; count = 0; for(int i=0; i<12; i++){ for(int j=1; j<=daylist[i]; j++){ if(i==j/10-(j/10)*10+j){ count++; } } cout<