记录详情

Wrong Answer

/in/foo.cc: In function 'void minHeapify(MinHeap*, int)':
/in/foo.cc:52:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (left < minHeap->size && minHeap->array[left]->freq < minHeap->array[smallest]->freq)
         ~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:55:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (right < minHeap->size && minHeap->array[right]->freq < minHeap->array[smallest]->freq)
         ~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
自测
语言
C++
递交时间
2024-12-10 12:15:36
评测时间
2024-12-10 12:15:36
评测机
分数
0
总耗时
1ms
峰值内存
376.0 KiB