0_0_17162349_21979.cpp: In function 'int main()': 0_0_17162349_21979.cpp:10:8: error: 'i' was not declared in this scope for (i = 0; i < n; ++i) { ^