0_0_38440454_19663.cpp: In function 'int main()':
0_0_38440454_19663.cpp:8:5: error: expected '}' before '{' token
{0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}};
^
0_0_38440454_19663.cpp:8:5: error: expected ',' or ';' before '{' token
0_0_38440454_19663.cpp: At global scope:
0_0_38440454_19663.cpp:9:5: error: expected unqualified-id before 'while'
while (scanf("%d/%d/%d", &year, &mon, &day) != EOF) {
^
|