foo.cc: In function 'int main()':
foo.cc:8:5: error: 'vctor' was not declared in this scope
8 | vctor<int> li(n);
| ^~~~~
foo.cc:8:11: error: expected primary-expression before 'int'
8 | vctor<int> li(n);
| ^~~
foo.cc:9:14: error: 'li' was not declared in this scope; did you mean 'i'?
9 | for(int i=0;li<n;i++)
| ^~
| i
foo.cc:17:7: error: 'li' was not declared in this scope; did you mean 'i'?
17 | if(li[j] >li[j+1])
| ^~
| i
foo.cc:26:5: error: 'li' was not declared in this scope
26 | if(li[0] - m <= 0)
| ^~
foo.cc:37:3: error: 'result' was not declared in this scope; did you mean 'rsult'?
37 | result -= n*m - 1;
| ^~~~~~
| rsult
[Hydro](https://hydro.ac)提供评测服务