发布时间:2015-10-22 16:14:26
struct TreeNode{ int data; TreeNode *left; TreeNode *right;};int max = INIT_MAX:int min = INIT_MIN;int get_max(TreeNode *proot){ while( proot != NULL) { .........【阅读全文】
发布时间:2015-10-03 23:13:40
#include <iostream><br /><br />using namespace std;<br /><br />void sift(int a[], int k, int m)<br />{<br /> int i = k;<br /> int j = 2 * i + 1;<br /><br /> while (j < m-1)<br /> {<br /> &nbs.........【阅读全文】