Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:33: warning: comparison of integer expressions of different signedness: 'std::priority_queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   31 |             if (max_heap.size() < i + 1) {
      |                 ~~~~~~~~~~~~~~~~^~~~~~~
/in/foo.cc:44:29: warning: comparison of integer expressions of different signedness: 'std::priority_queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   44 |         if (max_heap.size() < i) {
      |             ~~~~~~~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 556.0 KiB
#2 Accepted 3ms 604.0 KiB
#3 Accepted 3ms 616.0 KiB
#4 Accepted 4ms 708.0 KiB
#5 Accepted 6ms 848.0 KiB
#6 Accepted 8ms 1.027 MiB

信息

递交者
类型
递交
题目
P1014 黑匣子(blackbox)
语言
C++
递交时间
2025-05-31 18:30:24
评测时间
2025-05-31 18:30:24
评测机
分数
100
总耗时
28ms
峰值内存
1.027 MiB