摘要: 不看题解绝对想不出二分答案。。。。 1 #include 2 #define inc(i,l,r) for(i=l;i=r;i--) 4 #define inf 1e9 5 #define mem(a) memset(a,0,sizeof(a)) 6 #define ll long long 7 #... 阅读全文
posted @ 2015-08-21 15:53 onlyRP 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 线段树区间开方。。重写一遍就AC了,神马情况。。。。 1 #include 2 #define inc(i,l,r) for(i=l;i=r;i--) 4 #define inf 1e9 5 #define ll long long 6 #define NM 100000+5 7 #define ... 阅读全文
posted @ 2015-08-21 01:06 onlyRP 阅读(162) 评论(0) 推荐(0) 编辑
摘要: codevs月赛#2 T3。。当时的线段树调太久没来得及交QAQ这都能过了我的花神为毛就过不了捏。。。下次去试下区间平方?今天好像过去了耶。。。。作为单身狗只能默默地敲代码泄愤(*  ̄︿ ̄) 阅读全文
posted @ 2015-08-21 00:29 onlyRP 阅读(123) 评论(0) 推荐(0) 编辑