摘要:
#include<iostream>using namespace std;#define LEN sizeof(struct node)typedef struct node *pnode;int n; //节点个数struct node{ char val; pnode lchild; pnode rchild; };//生成二叉树 pnode createBinaryTree(){ char ch; scanf("%c", &ch); //421##3##76##8#9## pnode root = (pnode)malloc(LEN);... 阅读全文