摘要:
https://www.dotcpp.com/oj/problem3293.html 题目描述 小明创造了一个函数 f(x) 用来翻转 x 的二进制的数位(无前导 0)。比如f(11) = 13,因为 11 = (1011)2,将其左右翻转后,变为 13 = (1101)2;再比如f(3) = 3, 阅读全文
摘要:
https://www.luogu.com.cn/problem/P3372 #include <cstring> #include <iostream> #include <algorithm> using namespace std; #define N 100005 #define LL lo 阅读全文
摘要:
#include <iostream> #include <cstdio> #include <cstring> #include <string> #include <cmath> #include <algorithm> #include <cstdlib> #include <set> #in 阅读全文