QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#707368 | #7787. Maximum Rating | ucup-team3190# | Compile Error | / | / | C++17 | 2.5kb | 2024-11-03 15:41:19 | 2024-11-03 15:41:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void add(int)’: answer.code:18:5: error: ‘assert’ was not declared in this scope 18 | assert(ind != 0); | ^~~~~~ answer.code:4:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’? 3 | #include <map> +++ |+#include <cassert> 4 | using namespace std; answer.code: In function ‘int32_t main()’: answer.code:84:9: error: ‘sort’ was not declared in this scope; did you mean ‘short’? 84 | sort(begin(cmp), end(cmp)); | ^~~~ | short answer.code:85:19: error: ‘unique’ was not declared in this scope 85 | cmp.erase(unique(begin(cmp), end(cmp)), end(cmp)); | ^~~~~~