摘要:http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=2482&cid=1184 1 #include 2 #include 3 #include 4 using namespace std; 5 typedef struct node 6 { 7 char data; 8 struct node *l,*r; 9 } treenode,*tree;10 char s[30],s1[30],s2[30];11 int c=0;12 int insert(tree *t,char x)13 {14 t...
阅读全文