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

Compile Error

arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:9:4: error: expected ‘,’ or ‘;’ before ‘for’
9 | for(int i=0 i<n;i++){
| ^~~
arrayngement.cpp:9:20: error: ‘i’ was not declared in this scope
9 | for(int i=0 i<n;i++){
| ^
arrayngement.cpp:20:4: error: expected ‘}’ at end of input
20 | }
| ^
arrayngement.cpp:5:16: note: to match this ‘{’
5 | signed main() {
| ^