1086 Tree Traversals Again (25 point(s))

题解 树的遍历  #include<iostream> #include<cstdio> #include<vector> #include<stack> using namespace std; vector<int> pre, in, post; void getpost(int root, int l, int r) { if(l > r) return; int i = l; whi
相关文章
相关标签/搜索