python,形象具体,老实解题
摘要:解题思路:依次判断从11到指定条件下所能达到的最大值,最大值的计算方法,直接用最大位数作为2的指数,然后转化为对应的新进制下的数,可知,所有满足条件的数都应该在该范围内,范围确定后,接下来的步骤是如何……
2^k进制数:组合数
摘要:解题思路:组合数注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
long long c(int n, int ……
编写题解 1110: 2^k进制数
摘要:```cpp
#include
#include
using namespace std;
int pr,max2,tot=0;
void dp(int bit,int n){
i……