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

Compile Error

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