QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#650964 | #7944. Max Minus Min | HuangHanSheng | Compile Error | / | / | C++20 | 987b | 2024-10-18 17:13:10 | 2024-10-18 17:13:19 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
In file included from /usr/include/c++/13/algorithm:60, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51, from answer.code:1: /usr/include/c++/13/bits/stl_algobase.h: In instantiation of ‘constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]’: answer.code:39:20: required from here /usr/include/c++/13/bits/stl_algobase.h:284:17: error: ‘__comp’ cannot be used as a function 284 | if (__comp(__b, __a)) | ~~~~~~^~~~~~~~~~