摘要: //这是一个奇数阶b树#include#define m 5typedef struct nd { int keynum; int data[m+1]; struct nd *chd[m+1]; struct n... 阅读全文
posted @ 2007-07-20 12:56 thubier 阅读(10) 评论(0) 推荐(0) 编辑
摘要: #includetypedef struct nd{ int bf; int n; struct nd *lch; struct nd *rch;}btnode,*pbtnode;class bltree{pr... 阅读全文
posted @ 2007-07-17 11:33 thubier 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 在你要去的城市中,都有四个机场,且在一个平行四边形上,他们有地铁与相临的机场相连.城市间只有飞机可达.机票与地铁是按里程计算的,机票是统一的,地铁由城市自定.由一个城市去另一个城市,要找你在A城市到B城市的位置可... 阅读全文
posted @ 2007-07-17 09:18 thubier 阅读(30) 评论(0) 推荐(0) 编辑