摘要:
#include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
摘要:
#include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
摘要:
#include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
摘要:
#include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
摘要:
#include#include#includetypedef struct node{ int data; int mark; struct node*lchild,*rchild,*parent;}tnode,*tree;tree creat(){ int x; t... 阅读全文
摘要:
#include#include#includetypedef struct node{ int data,tag; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("... 阅读全文
摘要:
#include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
摘要:
#include#include#includetypedef struct node{ int data; struct node*lchild,*rchild;}tnode,*tree;tree creat(){ int x; tree t; scanf("%d",... 阅读全文
摘要:
#includeint L[6+1]={0,2,4,0,6,0,0};int R[6+1]={0,3,5,0,0,0,0};int T[6+1];int n=6;void TransTo(){ int i; for(i=1;i<=n;i++) { T[L[i]]=i;... 阅读全文
摘要:
#includeint L[6+1]={0,2,4,0,6,0,0};int R[6+1]={0,3,5,0,0,0,6};int n=6;int IfSon(int u,int v){ if(u&&v){ if(L[v]==u||R[v]==u) retur... 阅读全文