0_0_28489942_11652.cpp: In function 'int main()': 0_0_28489942_11652.cpp:22:3: error: expected ';' before 'for' for(int i=0;i<n;i++) ^ 0_0_28489942_11652.cpp:22:15: error: 'i' was not declared in this scope for(int i=0;i<n;i++) ^