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) ~~~~~~^~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2024-12-10 12:16:56
- 评测时间
- 2024-12-10 12:16:56
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 320.0 KiB