会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Driver_Lao
博客园
首页
新随笔
联系
订阅
管理
2018年7月20日
洛谷 2574 XOR的艺术
摘要: 【题解】 线段树维护区间中1的个数就好了。每次修改就打上标记并把区间的sum改为len-sum. 1 #include<cstdio> 2 #include<algorithm> 3 #include<cstring> 4 #define LL long long 5 #define N 20001
阅读全文
posted @ 2018-07-20 22:40 Driver_Lao
阅读(146)
评论(0)
推荐(0)
编辑
公告