0_0_13880902_30062.cpp: In function 'int main()': 0_0_13880902_30062.cpp:26:9: error: expected ';' before 'for' for( int i = 0; i < n; ++i ) { ^ 0_0_13880902_30062.cpp:26:25: error: 'i' was not declared in this scope for( int i = 0; i < n; ++i ) { ^