摘要: 题目链接非常无语的一个题,参考的HH大神的代码。离散化写的很神。 1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 using namespace std; 5 #define lson l , m ,rt<<1 6 #define rson m + 1, r, rt<<1|1 7 8 const int maxn = 21111; 9 int cnt; 10 bool hash[maxn]; 11 int x[maxn+30],y[maxn+30]; 阅读全文
posted @ 2013-06-04 21:37 Naix_x 阅读(160) 评论(0) 推荐(0) 编辑