2^k进制数(-。-) 摘要:解题思路:注意事项:参考代码: Scanner sc=new Scanner(System.in); int n=1,s=0,i,j,m=1; int k=sc.nextInt…… 题解列表 2021年02月27日 0 点赞 1 评论 310 浏览 评分:9.9
注意w大于2^k进制数所能达到的最大的位数 摘要: #include #include using namespace std; int Level(int k, int w){ //计算用2^k进制表示的数,最多的…… 题解列表 2022年01月19日 0 点赞 0 评论 364 浏览 评分:9.9
2^k进制数 (Java代码) 摘要:解题思路:我的方法就是上来就把几种可能罗列出来,然后找规律,这种方法可能巨慢(反正我想了半天)注意事项:以r转换为二进制后的最少位数开始,可能的次数为(2^k-2)+(2^k-3)+...+1,其中相…… 题解列表 2018年12月04日 1 点赞 1 评论 1192 浏览 评分:9.9
1110: 2^k进制数 摘要:```cpp #include #include using namespace std; int pr,max2,tot=0; void dp(int bit,int n) { …… 题解列表 2022年09月10日 0 点赞 0 评论 235 浏览 评分:9.9