Qiuqiqiu  
不管道路多么崎岖坎坷,我永远不停下追逐梦想的脚步!

2012年3月2日

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1828View Code 1 #include <cstdio> 2 #include <algorithm> 3 using namespace std; 4 const int N=20100; 5 struct segtree 6 { 7 int l,r,s,c,vl,vr,vs; 8 int m() { 9 int ans=(l+r)/2;10 if (ans*2>l+r) ans--;11 return ans;12 }13 ... 阅读全文
posted @ 2012-03-02 16:47 Qiuqiqiu 阅读(153) 评论(0) 推荐(0) 编辑