会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Qiuqiqiu
不管道路多么崎岖坎坷,我永远不停下追逐梦想的脚步!
公告
日历
导航
博客园
首页
新随笔
新文章
联系
订阅
管理
2012年2月29日
HDU 3397 Sequence operation
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=33974小时AC 我要崩溃了View Code 1 //HDU 3397 2 #include <cstdio> 3 using namespace std; 4 const int N=100010; 5 struct segtree 6 { 7 int l,r,c,s0,ls0,rs0,s1,ls1,rs1,cnt; 8 int m() {return (r+l)/2;} 9 int len() {return r-l+1;} 10 void set(i...
阅读全文
posted @ 2012-02-29 16:26 Qiuqiqiu
阅读(186)
评论(0)
推荐(0)
编辑
Copyright © 2024 Qiuqiqiu
Powered by .NET 8.0 on Kubernetes