摘要: 源代码: #include<cstdio> int m,n,num(0),h[100001]; struct treetype { int left,right,lefts,rights,sum; //本代码中,应用为半开半闭区间。 }i[200020]; //应用了完全二叉树的结点个数公式。 vo 阅读全文
posted @ 2016-02-13 20:08 【機關】 阅读(633) 评论(0) 推荐(1)