/ Vijos /

记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:23:25: error: ‘class std::priority_queue<int>’ has no member named ‘front’
   23 |                 if (app.front() >= tt.front()) {
      |                         ^~~~~
foo.cc:23:39: error: ‘class std::priority_queue<int>’ has no member named ‘front’
   23 |                 if (app.front() >= tt.front()) {
      |                                       ^~~~~
foo.cc:25:29: error: ‘class std::priority_queue<int>’ has no member named ‘pop_front’
   25 |                         app.pop_front();
      |                             ^~~~~~~~~
foo.cc:26:28: error: ‘class std::priority_queue<int>’ has no member named ‘pop_front’
   26 |                         tt.pop_front();
      |                            ^~~~~~~~~
foo.cc:29:28: error: ‘class std::priority_queue<int>’ has no member named ‘pop_front’
   29 |                         tt.pop_front();
      |                            ^~~~~~~~~

信息

递交者
类型
自测
题目
P1291 苹果摘陶陶
语言
C++
递交时间
2024-05-14 12:01:11
评测时间
2024-05-14 12:01:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes