QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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; | ^~