Problem | arrayproblem |
---|---|
User | fanqie |
Submission Time | 2023-11-18 22:31:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayproblem.cpp: In function ‘int32_t main()’:
arrayproblem.cpp:11:6: error: conflicting declaration ‘long long int G [(K + -1)]’
11 | int G[K-1]=K, G[0]=1;
| ^
arrayproblem.cpp:9:6: note: previous declaration as ‘long long int G [K]’
9 | int G[K];
| ^
arrayproblem.cpp:11:16: error: conflicting declaration ‘long long int G [0]’
11 | int G[K-1]=K, G[0]=1;
| ^
arrayproblem.cpp:9:6: note: previous declaration as ‘long long int G [K]’
9 | int G[K];
| ^