Problem arrayngement
User Dhivyan03
Submission Time 2026-06-26 15:53:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:9:17: error: expected ‘,’ or ‘;’ before ‘-’ token
9 | vector<int> b(n)-1e9
| ^
arrayngement.cpp:21:15: error: invalid operands of types ‘long long int’ and ‘<unresolved overloaded function type>’ to binary ‘operator-’
21 | b[i]=a[n-1-count];
| ~~~^~~~~~
arrayngement.cpp:22:11: error: no post-increment operator for type
22 | count ++;
| ^~