1312: 最大的算式 摘要:```cpp #include using namespace std; long long dp[16][16]; int sum[16]; int main() { int …… 题解列表 2023年05月03日 0 点赞 0 评论 579 浏览 评分:9.9
1311: 数字三角形 摘要:```cpp #include using namespace std; int a[100][100],n; int f(int i,int j) { if(i==n) …… 题解列表 2023年05月03日 0 点赞 0 评论 400 浏览 评分:9.9
神奇的fans(c语言) 摘要:```c #include #include int compare(const void* n1, const void* n2) { return *((int*)n1) - *(…… 题解列表 2023年05月03日 0 点赞 0 评论 252 浏览 评分:9.9
破解简单密码(switch暴力破解) 摘要:```c #include #include void Decode(char* strs); char translate(char ch); int main() { char p…… 题解列表 2023年05月03日 0 点赞 0 评论 287 浏览 评分:10.0
查找最大元素(c语言代码) 摘要:解题思路:1.查找最大元素。2.插入字符串(max)。根据题目要求,我们可以将本程序分为几个部分,利用函数解决每一步的问题: #include #include …… 题解列表 2023年05月03日 1 点赞 0 评论 530 浏览 评分:9.9
1347八皇后(C++)题解 摘要:写了很多次终于做出来了!解题思路:显然问题的关键在于如何判定某个皇后所在的行,列,斜线上是否有别的皇后可以从矩阵的特点上找到规律,如果在同一行,则行号相同;如果在同一列上,则列好相同;如果同在/斜线上…… 题解列表 2023年05月03日 0 点赞 0 评论 266 浏览 评分:9.0
飞机降落蓝桥杯 摘要:解题思路:// 错误点 // vis是否需要清0,不需要,最后回溯,完成清0// come use dw 关系// 主要到time取max(time,come[i]) ;; //如果time < co…… 题解列表 2023年05月03日 0 点赞 0 评论 1930 浏览 评分:8.5
位数问题C++题解 摘要:解题思路:方法1:排列组合(但需要运用动态规划)可以列出公式,在n个格子中放x个3(其中x为偶数,包括0)c(n,x)*9^(n-x)-c(n-1,x)*9^(n-x-1)含义为在n个格子中取x个3,…… 题解列表 2023年05月03日 0 点赞 0 评论 642 浏览 评分:6.0
1310: 表达式计算4 摘要:```cpp #include #include using namespace std; stacknum; stackop; int qmi(int a,int b) { …… 题解列表 2023年05月03日 0 点赞 0 评论 365 浏览 评分:9.9
对称二叉树(tree_c) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; string a; int s,s1; int main() { …… 题解列表 2023年05月03日 0 点赞 0 评论 211 浏览 评分:8.0