会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
motaoss
博客园
首页
新随笔
联系
订阅
管理
2024年7月3日
题目 3293: 蓝桥杯2024年第十五届决赛真题-数位翻转
摘要: https://www.dotcpp.com/oj/problem3293.html 题目描述 小明创造了一个函数 f(x) 用来翻转 x 的二进制的数位(无前导 0)。比如f(11) = 13,因为 11 = (1011)2,将其左右翻转后,变为 13 = (1101)2;再比如f(3) = 3,
阅读全文
posted @ 2024-07-03 14:18 motao
阅读(229)
评论(0)
推荐(0)
2024年6月13日
【模版】线段树
摘要: https://www.luogu.com.cn/problem/P3372 #include <cstring> #include <iostream> #include <algorithm> using namespace std; #define N 100005 #define LL lo
阅读全文
posted @ 2024-06-13 17:55 motao
阅读(40)
评论(0)
推荐(1)
XOR的艺术
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <string> #include <cmath> #include <algorithm> #include <cstdlib> #include <set> #in
阅读全文
posted @ 2024-06-13 17:47 motao
阅读(19)
评论(0)
推荐(0)
公告