摘要:
#pragma warning (disable:4996)#include#include#include#include#include#include#include#define maxn 150using namespace std;int n;struct Segment{ double l, r, x; int li, ri; bool isleft; bool operator > 1; build(i > 1; if (R = M) add(i 0) return N[i].len; else if (N[i].r - N[i].l > n&& 阅读全文