摘要: 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 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(8) 评论(0) 推荐(1) 编辑
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <string> #include <cmath> #include <algorithm> #include <cstdlib> #include <set> #in 阅读全文
posted @ 2024-06-13 17:47 motao 阅读(7) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示