Problem | wabot |
---|---|
User | justin271828 |
Submission Time | 2024-05-28 14:53:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wabot.cpp: In function ‘int main()’:
wabot.cpp:49:16: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
49 | temp += q.top();
| ^~~
| pop
wabot.cpp:51:16: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
51 | temp += q.top();
| ^~~
| pop
wabot.cpp:58:19: error: ‘class std::queue<long long int>’ has no member named ‘top’; did you mean ‘pop’?
58 | q.push(qtemp.top());
| ^~~
| pop