Problem dayum
User ov5rki11
Submission Time 2025-06-20 12:44:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dayum.cpp: In function ‘int32_t main()’:
dayum.cpp:10:25: error: expected identifier before numeric constant
10 | int dayarr[] = [16, 17, 18, 19, 20]
| ^~
dayum.cpp:10:27: error: expected ‘]’ before ‘,’ token
10 | int dayarr[] = [16, 17, 18, 19, 20]
| ^
| ]
dayum.cpp: In lambda function:
dayum.cpp:10:27: error: expected ‘{’ before ‘,’ token
dayum.cpp: In function ‘int32_t main()’:
dayum.cpp:10:13: error: initializer fails to determine size of ‘dayarr’
10 | int dayarr[] = [16, 17, 18, 19, 20]
| ^~~~~~
dayum.cpp:10:27: error: array must be initialized with a brace-enclosed initializer
10 | int dayarr[] = [16, 17, 18, 19, 20]
| ^
dayum.cpp:10:29: error: expected unqualified-id before numeric constant
10 | int dayarr[] = [16, 17, 18, 19, 20]