Compile Error

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)提供评测服务

信息

递交者
类型
自测
题目
P1322 2-3 参赛人数
语言
C++
递交时间
2023-08-17 21:19:01
评测时间
2023-08-17 21:19:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes