题解列表

筛选

K-进制数 (C++代码)DFS+剪枝

摘要:解题思路:DFS 暴力枚举,剪枝操作;注意事项:参考代码:#include<iostream> using namespace std; int n,k,cnt=0,flag=1; int a[……