0_0_36713572_9183.cpp: In function 'int main()':
0_0_36713572_9183.cpp:5:12: error: expected identifier before numeric constant
int a[] = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
^
0_0_36713572_9183.cpp:5:13: error: expected ']' before ',' token
int a[] = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
^
0_0_36713572_9183.cpp: In lambda function:
0_0_36713572_9183.cpp:5:13: error: expected '{' before ',' token
0_0_36713572_9183.cpp: In function 'int main()':
0_0_36713572_9183.cpp:5:13: error: initializer fails to determine size of 'a'
0_0_36713572_9183.cpp:5:13: error: array must be initialized with a brace-enclosed initializer
0_0_36713572_9183.cpp:5:15: error: expected unqualified-id before numeric constant
int a[] = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
^
0_0_36713572_9183.cpp:8:36: error: expected ')' before '{' token
while(scanf("%d/%d/%d", &y, &m, &d){
^
0_0_36713572_9183.cpp:19:14: error: 'print' was not declared in this scope
print("%d", t)
^
0_0_36713572_9183.cpp:25:1: error: expected '}' at end of input
}
^
|