Problem arrayngement
User Zubair
Submission Time 2026-06-26 15:24:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:12:30: error: expected ‘;’ before ‘{’ token
12 | cout<<"6\n 5 1 4 2 3\n" {
| ^~
| ;
arrayngement.cpp:22:2: error: expected ‘}’ at end of input
22 | }
| ^
arrayngement.cpp:10:29: note: to match this ‘{’
10 | for(int i = 0; i<<n;i++) {
| ^
arrayngement.cpp:22:2: error: expected ‘}’ at end of input
22 | }
| ^
arrayngement.cpp:5:16: note: to match this ‘{’
5 | signed main() {
| ^