AC之路---图
枫闲言
言必行 行必果
展开
-
二叉树的建立及遍历
构建一个简单二叉树,如:(#代表空) a b c # # # #构建:#include<iostream> #include<cstdio> using namespace std; typedef struct node{ //起别名时用 ...原创 2018-03-27 14:07:15 · 170 阅读 · 0 评论 -
HDU 2647 Reward
原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=2647RewardTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11154 Accepted Submission(s): 3569Pr...原创 2018-04-10 09:57:36 · 159 阅读 · 0 评论