二叉排序樹 北郵 機試 靜態實現

#include<bits/stdc++.h> using namespace std; //二叉樹的靜態實現 struct node{ int l,r,data; }Node[105]; int inde=0; int newnode(int x){ Node[inde].l=Node[inde].r=-1; Node[inde].data=x; return inde++;
相關文章
相關標籤/搜索