foo.cc: In function 'int main()':
foo.cc:4:14: error: 'n' was not declared in this scope; did you mean 'yn'?
4 | cin>>n>>m;
| ^
| yn
foo.cc:4:17: error: 'm' was not declared in this scope; did you mean 'tm'?
4 | cin>>n>>m;
| ^
| tm
foo.cc:6:22: error: 'a' was not declared in this scope
6 | cin>>a;
| ^
foo.cc:7:21: error: 'ton' was not declared in this scope; did you mean 'tan'?
7 | if(!ton[a]){
| ^~~
| tan
foo.cc:8:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
8 | ans++;
| ^~~
| abs
foo.cc:10:17: error: 'ton' was not declared in this scope; did you mean 'tan'?
10 | ton[a]=1;
| ^~~
| tan
foo.cc:12:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
12 | cout<<ans;
| ^~~
| abs
[Hydro](https://hydro.ac)提供评测服务