摘要: #include#includeusing namespace std;int sum;int ans;struct Tree{ int a,b; int sum; int ans; Tree *lchile,*rchile;};int swap(int x,int y){ if(x>y) return x; else return y;} Tree *build(int l,int r){ Tree *root=new Tree; root->a=l; root->b=r; root->sum=0; ... 阅读全文
posted @ 2014-01-27 15:36 Monkey菜苗 阅读(155) 评论(0) 推荐(0) 编辑