记录详情

Accepted

/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 Accepted 1ms 404.0 KiB

信息

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