会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
石の上にも三年
博客园
首页
新随笔
联系
管理
2015年7月15日
【线段树-区间更新】codeforces 558e A Simple Task
摘要: 通道:http://codeforces.com/contest/558/problem/e题意:给出一个字符串,Q个询问,(l,r,v),将[l,r]区间升序或降序排序(v==0|v==1)思路:26颗线段树,区间更新即可。代码: 1 #include 2 #include 3 4 ...
阅读全文
posted @ 2015-07-15 12:25 mithrilhan
阅读(189)
评论(0)
推荐(0)
编辑
公告