LA 7158. ACM-ICPC World Finals 2015 I. Ship Traffic
在区间首+1 尾-1的这种方法叫扫描线??
#include
#include
using std::cin;
struct Moment {
double value; short weight;
bool operator const Moment &mo2) {
return value == mo2.value ? weight < mo2.weight : va
原创
2018-01-11 18:14:38 ·
299 阅读 ·
0 评论