0_0_17388884_957.cpp: In function 'int main()': 0_0_17388884_957.cpp:38:9: error: expected ';' before 'for' for(int i=1;i<=n;i++) ^ 0_0_17388884_957.cpp:38:21: error: 'i' was not declared in this scope for(int i=1;i<=n;i++) ^