#include int main(){ int day[] = {0, 31, 28, 31, 30, 31, 30, 31 , 31, 30, 31, 30, 31}; int count = 0; int i,j; for(i = 1; i < 13; i++){ for(j = 1; j <= day[i]; j++ ){ if(i == (j%10 + (j/10)&10) ) count++; } } printf("%d\n",count); return 0; }