摘要:
CF 1095C Powers Of Two(二进制拆分) A positive integer xx is called a power of two if it can be represented as x=2y, where y is a non-negative integer. So, 阅读全文
摘要:
#小技巧——二进制转换 二进制转换一——递归 #include<iostream> using namespace std; int cnt=0; void ten_2_bi(int k,int a[]) { if(k!=0) { ten_2_bi(k>>1,a); a[cnt++]=k%2; co 阅读全文