Problem 3nplus1
User blob
Submission Time 2023-11-10 11:25:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:16: error: expected initializer before ‘+=’ token
9 | int array[n]+= 3*n+ 1;
| ^~
3nplus1.cpp:14:16: error: expected initializer before ‘+=’ token
14 | int array[n]+= n/2;
| ^~