树
文章平均质量分 77
查尔德77
努力改变自己
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVa 11234 Expressions
一道树的题目#include #include#include#include#include#include#include#include#include#include#includeusing namespace std;struct node{ char data; node*left; node*right;};node*原创 2014-07-16 14:12:49 · 434 阅读 · 0 评论 -
poj 1145 tree summing
Tree SummingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7866 Accepted: 1815DescriptionLISP was one of the earliest high-level programming languages原创 2014-07-17 09:51:00 · 546 阅读 · 0 评论 -
UVA 297 四叉树合并 Quadtrees
用一个Dps,把它输出来。A quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into four quadrants. Each quadrant may again be spli原创 2014-07-21 09:36:52 · 1021 阅读 · 0 评论 -
树的重建与遍历
重建一棵树 Tree You are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the binary tree to any le原创 2014-07-20 21:20:28 · 775 阅读 · 0 评论 -
poj_1105 S-trees
用数组装就好,不要用树。#include#include#include #include #include using namespace std;int fuck(int di,int ci){ int ans=1; for(int i=1;i<=ci;i++)ans*=di; return ans;}int main(){ //ifstre原创 2014-07-24 10:39:26 · 552 阅读 · 0 评论 -
poj 1577 Falling Leaves
非常简单,输入字符串到一个一维数组,然后从字符串的原创 2014-07-29 22:10:52 · 509 阅读 · 0 评论
分享