Problem mathexam
User zsinfo2010
Submission Time 2024-01-19 14:20:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathexam.cpp: In function ‘int32_t main()’:
mathexam.cpp:15:27: error: array must be initialized with a brace-enclosed initializer
15 | int h[i] = (a[i] + b[i])/2;
| ~~~~~~~~~~~~~^~