foo.cc: In function 'int main()':
foo.cc:27:13: error: 'i' was not declared in this scope
27 | for(i=1;i<=n;i++){
| ^
foo.cc:49:9: error: 'i' was not declared in this scope; did you mean 'vi'?
49 | for(i=vi.size()-1;i>=0;i--){
| ^
| vi
foo.cc:50:22: error: request for member 'vi' in '"%d "', which is of non-class type 'const char [4]'
50 | printf("%d ".vi[i]);
| ^~
foo.cc:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
foo.cc:18:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | scanf("%d",&f[i][j]);
| ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务