Problem 3nplus1
User YongXin
Submission Time 2023-06-01 20:19:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:21:5: error: incompatible types in assignment of ‘int [(i + 1)]’ to ‘long long int [1]’
21 | a=newa;
| ^~~~
3nplus1.cpp: At global scope:
3nplus1.cpp:26:1: error: expected declaration before ‘}’ token
26 | }
| ^