void bianli(btree * t){ if(t&&t->lchild==NULL&&t->rchild==NULL) { count++; } bianli(t->lchild); bianli(t->rchild);}
多谢多谢~~~~