
dfs序
文章平均质量分 86
creatorx
这个作者很懒,什么都没留下…
展开
-
FOJ2277(dfs序 + 树状数组区间更新)
Problem 2277 Change Accept: 91 Submit: 450 Time Limit: 2000 mSec Memory Limit : 262144 KBProblem DescriptionThere is a rooted tree with n nodes, number from 1-n. Root’s number is 1.Each node ha原创 2017-07-31 18:42:12 · 566 阅读 · 0 评论 -
POJ3321(dfs序+树状数组)
Apple Tree Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 30177 Accepted: 9013 DescriptionThere is an apple tree outside of kaka’s house. Every autumn, a lot of apples will g原创 2017-07-26 16:51:08 · 476 阅读 · 0 评论 -
HDU6191(dfs序 + 可持久Trie树)
Query on A Tree Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others) Total Submission(s): 54 Accepted Submission(s): 17 Problem Description Monkey A l原创 2017-08-31 19:50:26 · 1331 阅读 · 1 评论