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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:20: error: array must be initialized with a brace-enclosed initializer
9 | int array[e]=3*n+ 1;
| ~~~^~~
3nplus1.cpp:12:18: error: array must be initialized with a brace-enclosed initializer
12 | int array[n]=n/2;
| ~^~