12 2018 档案

摘要:#include using namespace std; const int LH=1; const int RH=-1; const int EH=0; struct BitNode { int data; int bf; BitNode *lchild,*rchild; }; void L_Rotate(BitNode *&p) { BitNode *R=p... 阅读全文
posted @ 2018-12-05 16:58 shenyuli 阅读(144) 评论(0) 推荐(0)
摘要:1.对象:无重复数字 2.查找代码 3.删除代码 4.实例: #include<iostream> using namespace std; struct Bts_node { int data; Bts_node *lchild,*rchild; }; bool insert_Bts(Bts_no 阅读全文
posted @ 2018-12-04 16:11 shenyuli 阅读(197) 评论(0) 推荐(0)
摘要:#include using namespace std; int binsearch(int a[],int low,int high,int k) { if(low>high) return 0; int mid=(low+high)/2; if(a[mid]==k) return mid+1; else if(a[mid]>len; ... 阅读全文
posted @ 2018-12-04 15:16 shenyuli 阅读(128) 评论(0) 推荐(0)

Live2D