记录详情

Compile Error

foo.cc:32:1: error: 'map' does not name a type; did you mean 'max'?
   32 | map<int,int> st;
      | ^~~
      | max
foo.cc: In function 'int main()':
foo.cc:42:3: error: 'st' was not declared in this scope; did you mean 'std'?
   42 |   st[x]=1;
      |   ^~
      |   std
foo.cc:46:7: error: 'st' was not declared in this scope; did you mean 'std'?
   46 |   if(!st.count(a[i])) cout<<a[i]<<' ';
      |       ^~
      |       std
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1048 OO11-1 vector<int>中的查找删除
语言
C++
递交时间
2022-08-06 20:42:21
评测时间
2022-08-06 20:42:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes