From a54ccd9cb530967ce611b9ab3d2c0e69018fc204 Mon Sep 17 00:00:00 2001 From: xusun000 <2235861811@qq.com> Date: Mon, 29 Nov 2021 16:08:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=9E=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code_tree_2017.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code_tree_2017.cpp b/code_tree_2017.cpp index 54e2ce4..6e1be91 100644 --- a/code_tree_2017.cpp +++ b/code_tree_2017.cpp @@ -33,7 +33,8 @@ void createTree(BTree* node, char c[], int pos, int length) { int main() { BTree* a = (BTree*)malloc(sizeof(BTree)); - createTree(a, "*+*abc-@@@@@@@d@@@@@@@@@@@@@@@@", 0, 31); + // createTree(a, "*+*abc-@@@@@@@d@@@@@@@@@@@@@@@@", 0, 31);//用@表示空节点 + createTree(a, "+*-ab@-@@@@@@cd@@@@@@@@@@@@@@@@", 0, 31);//用@表示空节点 midQuation(a); return 0; } \ No newline at end of file