P1087 FBI树(二叉树+先序遍历构树+后序遍历输出)

P1087 FBI树(二叉树+先序遍历构树+后序遍历输出) #include<cstdio>#include<iostream>using namespace std;//二叉树的元素一定是偶数(废话)char str[2000];int n;void binarytree(int x,int y){    int i;    if(y>x)                     //先序遍历构
相关文章
相关标签/搜索