Problem numberfun
User bribritt
Submission Time 2023-10-16 14:29:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

numberfun.cpp: In function ‘int main()’:
numberfun.cpp:7:11: error: ‘class std::queue<int>’ has no member named ‘top’; did you mean ‘pop’?
7 | int x=q.top(); q.pop();
| ^~~
| pop