Problem explosives
User username
Submission Time 2024-02-25 13:45:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

explosives.cpp: In function ‘void runtc()’:
explosives.cpp:44:25: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
44 | pq.pop();
| ^~
| q
explosives.cpp:69:28: error: no match for ‘operator<’ (operand types are ‘std::basic_ostream<char>’ and ‘char’)
69 | cout<<q.front()<' ';
| ~~~~~~~~~~~~~~~^~~~
| | |
| | char
| std::basic_ostream<char>
explosives.cpp:69:28: note: candidate: ‘operator<(int, int)’ <built-in>
69 | cout<<q.front()<' ';
| ~~~~~~~~~~~~~~~^~~~
explosives.cpp:69:28: note: no known conversion for argument 1 from ‘std::basic_ostream<char>’ to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include