如题目 写到一半发现不会建树 有其他方法也行
#include<bits/stdc++.h> using namespace std; void postorder(TreeNode *root) { if(root!=NULL) { postorder(root->l); postorder(root->r); cout<<root->val; } } int main() { int N; string m; cin>>N>>m; int n=strlen(m); return 0; }