简单大根堆的实现
摘要:1 //头文件定义--heap.h 2 #ifndef _MAXHEAP_H_ 3 #define _MAXHEAP_H_ 4 template<class T> 5 class MaxHeap{ 6 public: 7 MaxHeap(int size=10); 8 virtual ~MaxHea
阅读全文
posted @ 2015-09-30 13:21
第一个代码少了一个赋值temp的语句
posted @ 2015-09-30 13:21
Powered by:
博客园
Copyright © 2025 鼬与轮回
Powered by .NET 9.0 on Kubernetes