0_0_38445692_4642.cpp: In function 'int main()': 0_0_38445692_4642.cpp:22:9: error: expected ';' before 'for' for(i=1;i<n;i++){ ^ 0_0_38445692_4642.cpp:22:24: error: expected ';' before ')' token for(i=1;i<n;i++){ ^