
第三部分 - 第三章 - 树 - 二叉树
NOI6666666666666
厦门饮冰
这个作者很懒,什么都没留下…
展开
-
练习4 - 二叉树输出
#include<iostream> #include<stdio.h> #include<string.h> #include<algorithm> #include<math.h> #include<sstream> using namespace std; #define L 101 typedef struct node; typedef node *tree; //tree => &node;tree本身就代表.原创 2020-08-10 12:52:31 · 188 阅读 · 0 评论 -
练习3 - FBI树
#include<iostream> #include<stdio.h> #include<string.h> #include<algorithm> #include<math.h> #include<sstream> using namespace std; #define L 101 typedef struct node; typedef node *tree; //tree => &node;tree本身就代表.原创 2020-08-10 12:50:34 · 114 阅读 · 0 评论 -
练习2 - 二叉树遍历
#include<iostream> #include<stdio.h> #include<string.h> #include<algorithm> #include<math.h> #include<sstream> using namespace std; #define L 101 typedef struct node; typedef node *tree; //tree => &node;tree本身就代表.原创 2020-08-10 12:49:44 · 107 阅读 · 0 评论 -
练习1 - 小球
#include<iostream> #include<stdio.h> #include<string.h> #include<algorithm> #include<math.h> #include<sstream> using namespace std; #define L 101 typedef struct node; typedef node *tree; //tree => &node;tree本身就代表.原创 2020-08-10 12:48:36 · 167 阅读 · 0 评论