摘要: Description "题目链接" Solution 用set按dfs序维护当前的宝物序列,那么答案为相邻2个点的距离加上头尾2个的距离 Code 阅读全文
posted @ 2018-03-28 19:37 void_f 阅读(214) 评论(0) 推荐(0) 编辑