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

Compile Error

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