摘要: 链接 分析:我们不断统计相邻两个元素之间的差值,按照差值从大到小排序,在进行贪心即可 1 /* 2 PROB:barn1 3 ID:wanghan 4 LANG:C++ 5 */ 6 #include "iostream" 7 #include "cstdio" 8 #include "cstrin 阅读全文
posted @ 2017-06-10 23:46 wolf940509 阅读(115) 评论(0) 推荐(0)