hiho一下 第216周 Gas Stations 贪心
hiho一下 第216周 Gas Stations
在一维线段m上已有n个点,再加入K个点使相邻两点距离的最大值最小
贪心+优先队列+二分
#include<stdio.h>
#include<string.h>
#include<queue>
#include<algorithm>
using namespace std;
const in...
原创
2018-08-22 16:55:56 ·
204 阅读 ·
0 评论