Compile Error
/in/foo.cc: In member function 'void SeqList::remove(int)':
/in/foo.cc:19:26: error: no matching function for call to 'SeqList::remove(std::vector<int>::iterator, std::vector<int>::iterator, int&)'
   19 |         data.erase(remove(data.begin(), data.end(), value), data.end());
      |                    ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:18:10: note: candidate: 'void SeqList::remove(int)'
   18 |     void remove(int value) {
      |          ^~~~~~
/in/foo.cc:18:10: note:   candidate expects 1 argument, 3 provided
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1014 OO3-1 无序顺序表类的基本运算
 - 语言
 - C++
 - 递交时间
 - 2025-04-04 15:52:18
 - 评测时间
 - 2025-04-04 15:52:18
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes