Problem catlunch
User Johnnie
Submission Time 2023-08-05 21:38:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:17:19: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
17 | currK.push(fish.top());
| ^~~
| pop
catlunch.cpp:26:19: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
26 | currK.push(fish.top());
| ^~~
| pop