Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j = 0; j < i; j++)
^~~
/in/foo.cc:11:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
cout<<f[n];
^~~~