foo.cc: In function 'int main()':
foo.cc:7:11: error: expected ';' before '*' token
for(int i*1;i<*n;i**)
^
foo.cc:7:12: error: invalid type argument of unary '*' (have 'int')
for(int i*1;i<*n;i**)
^
foo.cc:7:17: error: invalid type argument of unary '*' (have 'int')
for(int i*1;i<*n;i**)
^
foo.cc:7:18: error: expected ')' before ';' token
for(int i*1;i<*n;i**)
^
foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i*1;i<*n;i**)
^~~
foo.cc:7:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i*1;i<*n;i**)
^
foo.cc:7:19: error: 'i' was not declared in this scope
foo.cc:7:22: error: expected primary-expression before ')' token
for(int i*1;i<*n;i**)
^
[Hydro](https://hydro.ac)提供评测服务