会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
donkey9
博客园
首页
新随笔
联系
订阅
管理
2021年7月22日
lowbit 树状数组
摘要: 总结一下:x&(-x),当x为0时结果为0;x为奇数时,结果为1;x为偶数时,结果为x中2的最大次方的因子。. #include<bits/stdc++.h> #include<iostream> using namespace std; typedef long long ll; const in
阅读全文
posted @ 2021-07-22 14:28 旅玖旅玖
阅读(29)
评论(0)
推荐(0)
编辑
公告