![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
二叉树问题
文章平均质量分 55
wxz1120171495
这个作者很懒,什么都没留下…
展开
-
UVA The Falling Leaves
#include <cstdio> #include <iostream> #include <cmath> #include <cstring> using namespace std; const int maxn = 200 + 5; int sum[maxn] = { 0 };//统计每一层的总和 void build(int p)//递归建...原创 2018-02-20 17:23:06 · 129 阅读 · 0 评论 -
UVA Quadtrees
#include <cstdio> #include <iostream> #include <cstring> using namespace std; const int len = 32; const int maxn = 1024 + 5;//可能出现的总的涂色方块 char s[maxn] = { 0 };//记录读入的字符串 char color[l...原创 2018-02-20 20:27:36 · 156 阅读 · 0 评论