摘要: 传:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3965 题意: 给定同一颗树的两个DFS的序列,输出这颗树。 思路: dfs,每次递归记录两个区间l1, r1, l2, r2 和pa. #include <bits/st 阅读全文
posted @ 2019-04-26 16:44 ckxkexing 阅读(200) 评论(0) 推荐(0) 编辑