摘要:
很久之前做的了,已经想不起思路了,容我日后补充。 1 #include <stdio.h> 2 #include <deque> 3 #include <algorithm> 4 #define inf 1000000000 5 using namespace std; 6 int n, L, a, b, cnt = 1; 7 int f[1000010]; 8 bool d[1000010]; 9 struct node10 {11 int s, e;12 }p[1001], P[1001];13 bool cmp(const node &a, c 阅读全文