摘要: 线段覆盖,注意从右往左挪的情况View Code #include <iostream>#include <cstdlib>#include <cstdio>#include <cstring>#include <algorithm>using namespace std;#define room_num 400#define maxn 205struct Elem{ bool start; int pos;}elem[maxn];int n;int elem_cnt;bool operator < (const Elem &a 阅读全文
posted @ 2012-12-29 20:20 undefined2024 阅读(241) 评论(0) 推荐(0)