Wrong Answer
foo.cc: In function 'int main()':
foo.cc:41:49: warning: unused variable 'w' [-Wunused-variable]
   41 |                         int u = Q.top().second, w = Q.top().first; Q.pop();
      |                                                 ^
foo.cc:36:21: warning: unused variable 'ans2' [-Wunused-variable]
   36 |                 int ans2 = 0, cnt2 = 0;
      |                     ^~~~
foo.cc:50:23: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
   50 |                 printf( "%d ", n - pos );
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P2054 热闹的聚会与尴尬的聚会
- 语言
- C++
- 递交时间
- 2023-06-10 20:38:52
- 评测时间
- 2023-06-10 20:38:52
- 评测机
- 分数
- 0
- 总耗时
- 2458ms
- 峰值内存
- 7.555 MiB