摘要: #include #include using namespace std; void swap(vector &arr, int a, int b) { int temp = arr[a]; arr[a] = arr[b]; arr[b] = temp; } void ajust_heap(vector&arr, int hole, int len) { ... 阅读全文
posted @ 2016-03-31 11:03 Esapinit 阅读(299) 评论(0) 推荐(0) 编辑