摘要: 1 //基于完全二叉树的极大堆的上下漂移实现 2 //INT_MAX极大数 INT_MIN极小数 3 #include 4 #include 5 #include 6 #define N 11 7 8 using namespace std; 9 10 typedef int T;... 阅读全文
posted @ 2015-07-23 18:17 喜欢算法的小杰 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 typedef int T; 7 // typedef vector CT; 8 //template 9 10 11 12 int main(){ 13 ve... 阅读全文
posted @ 2015-07-23 16:21 喜欢算法的小杰 阅读(197) 评论(0) 推荐(0) 编辑