摘要: 思路: 按照终点升序,然后遍历一下就好了;#include using namespace std;typedef long long LL;const int N=1e5+10;struct asd{ int x,y;};asd q[N];bool cmp(asd a,as... 阅读全文
posted @ 2016-09-07 19:48 see_you_later 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 思路: 尺取,写挫了,debug了半天。#include using namespace std;typedef long long LL;const int N=1e5+10;char ch[N];int vis[1001];int main(){ int s,t; ... 阅读全文
posted @ 2016-09-07 18:43 see_you_later 阅读(124) 评论(0) 推荐(0) 编辑