Problem card
User Johnnie
Submission Time 2023-06-14 16:17:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:23:18: error: ‘class std::queue<char>’ has no member named ‘top’; did you mean ‘pop’?
23 | if (operations.top() == 'A')
| ^~~
| pop