QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#562703 | #8589. Explosives | kheiramihoub | Compile Error | / | / | C++14 | 1.2kb | 2024-09-13 20:09:39 | 2024-09-13 20:09:40 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:31:1: error: ‘priority_queue’ was not declared in this scope 31 | priority_queue<pair<int, int>> pq; | ^~~~~~~~~~~~~~ answer.code:5:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’? 4 | #include <cmath> +++ |+#include <queue> 5 | answer.code:31:29: error: expected primary-expression before ‘>’ token 31 | priority_queue<pair<int, int>> pq; | ^~ answer.code:31:32: error: ‘pq’ was not declared in this scope 31 | priority_queue<pair<int, int>> pq; | ^~