Problem | 3nplus1 |
---|---|
User | fanqie |
Submission Time | 2023-11-16 08:34:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:10:6: error: conflicting declaration ‘long long int arr [0]’
10 | int arr[0]=n;
| ^~~
3nplus1.cpp:9:6: note: previous declaration as ‘long long int arr [m]’
9 | int arr[m];
| ^~~
3nplus1.cpp:21:16: error: expected ‘;’ before ‘return’
21 | cout << arr[m]
| ^
| ;
22 | return 0;
| ~~~~~~