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)                     //先序遍歷構
相關文章
相關標籤/搜索