Compile Error
foo.cc: In function 'int getMaxCount(std::vector<int>)': foo.cc:8:5: error: 'sort' was not declared in this scope; did you mean 'short'? 8 | sort(nums.begin(), nums.end()); | ^~~~ | short foo.cc: In function 'int main()': foo.cc:21:12: warning: unused variable 'num' [-Wunused-variable] 21 | int n, num; | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- 1-4 最大值的个数
- 语言
- C++
- 递交时间
- 2023-11-21 13:49:00
- 评测时间
- 2023-11-21 13:49:00
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes