堆基本操作实现最大堆

上传:一缕游魂 浏览: 16 推荐: 0 文件:PDF 大小:39.6KB 上传时间:2021-02-01 13:18:41 版权申诉
代码如下:/*** 实现最大堆**/ #include #include #include #include #include using namespace std;const int M = 10003; //定义数据节点class dNode{public: string name; int age; double score; dNode():name(“no name”), age(0), score(0.0){} dNode(string name, int age, double sco
上传资源
用户评论