Problem lualectures
User Schzeey
Submission Time 2023-03-09 09:11:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lualectures.cpp: In function ‘int main()’:
lualectures.cpp:38:36: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
38 | ans.push_back(aviaRoom.top());
| ^~~
| pop
lualectures.cpp:39:36: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
39 | temp.second = aviaRoom.top();
| ^~~
| pop