摘要:
#include<iostream>#include<string>using namespace std;int flag=1;typedef struct node{ int W1,D1,Wr,Dr; struct node *left,*right;}bitnode,*bitree;void createtree(bitree *T){ bitnode bit; cin>>bit.W1>>bit.D1>>bit.Wr>>bit.Dr; *T=new node; (*T)->D1=bit.D1; (*T)-> 阅读全文