编码改回utf-8了

This commit is contained in:
2024-11-22 01:10:52 +08:00
parent f8f59b723c
commit 81e283e11c
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* 二叉树采用二叉链存储结构存放,结点值为int 类型,设计一个递归算法求二叉树 bt 中所有叶子结点值之和
* 二叉树采用二叉链存储结构存放,结点值为int 类型,设计一个递归算法求二叉树 bt 中所有叶子结点值之和
*/
#include<iostream>
#include"BiTree.h"
@@ -23,7 +23,7 @@ int main()
BiTree* root = createTreeFromArray(testValues, size);
cout << "树结构为" << endl << root->toString() << endl;
cout << "叶子节点数据总和: " << BiTree::sum_leaf(root) << endl;
cout << "树结构为" << endl << root->toString() << endl;
cout << "叶子节点数据总和: " << BiTree::sum_leaf(root) << endl;
return 0;
}