摘要: 题目链接:https://nanti.jisuanke.com/t/16957 题目: In this winter holiday, Bob has a plan for skiing at the mountain resort. This ski resort has MMM differen 阅读全文
posted @ 2018-05-07 21:46 Dillonh 阅读(3521) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4857 题面是中文题面,就不解释题意了,自己点击链接去看下啦~这题排序有两个条件,一个是按给定的那个序列(即输入的u,v,优先级最高),一个是序号从小到大(优先级次之)。正向的话由于这两个条件不好维护,所 阅读全文
posted @ 2018-05-07 19:55 Dillonh 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://hihocoder.com/problemset/problem/1175 代码实现如下: 阅读全文
posted @ 2018-05-07 17:52 Dillonh 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://hihocoder.com/problemset/problem/1174 题目是中文题面我就不说题意了,要看题面的请点击上方链接~ 代码实现如下: 阅读全文
posted @ 2018-05-07 17:43 Dillonh 阅读(265) 评论(0) 推荐(0) 编辑