题解列表

筛选

K-进制数 DP

摘要:解题思路:DP注意事项:参考代码:#include<iostream> using namespace std; const int N = 1e2 + 10; long long f[N]; ……

1115: DNA 循环

摘要:解题思路:打印对角线X 第一行单独处理注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() ……

1114: C语言考试练习题_排列(dfs)

摘要:解题思路:dfs全排列注意事项:题目的输出顺序, 依次排除第 4 - 1 个数字参考代码:#include<iostream> #include<cmath> using namespace st……

Cylinder最大圆柱体积

摘要:解题思路:pi的精度11位注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; const double pi = ……

二级C语言-自定义函数

摘要:解题思路: 采用递归求解注意事项: 包含#include<iomanip>以保证输出4位小数;参考代码:#include<iostream> using namespace std; #inclu……

计算素数和(用C++)

摘要:参考代码:#include<iostream> using namespace std; bool isprime(int x) { int count = 0; for (int i ……

2^k进制数:组合数

摘要:解题思路:组合数注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; long long c(int n, int ……