if (t) { std::cout << t->data << " "; preordertraverse(t->lchild); preordertraverse(t->rchild); } [2024-11-13 11:44:09 | AI写代码神器 | 84点数解答]