摘要: #include #include #include using namespace std; vector heap{ 3,1,2,5,7,8,4,9,6 }; void Max_Heapify(vector &heap, int root, int tail) { int FatherNode = root, &p = FatherNode; int lch = p *... 阅读全文
posted @ 2017-03-14 21:00 codinRay 阅读(208) 评论(0) 推荐(0) 编辑