Problem peanamis
User Haoyu
Submission Time 2026-11-27 13:16:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peanamis.cpp: In function ‘int32_t main()’:
peanamis.cpp:39:14: error: ‘qA’ was not declared in this scope; did you mean ‘A’?
39 | }if (qA.empty()){
| ^~
| A
peanamis.cpp:42:29: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘<unresolved overloaded function type>’)
42 | cout << A.front() << " " << B.front << endl;
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::basic_ostream<char>
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/