题目 3034: 自然数的拆分 摘要:算法介绍: 本题使用的算法为深度优先搜索算法(Depth-First-Search,DFS),该算法所遵循的策略如同名字一样,讲究一个“深”字,就是尽可能深的去搜锁所有的节点,直到把所有…… 题解列表 2023年11月26日 0 点赞 0 评论 589 浏览 评分:7.3
题解 2776: A*B问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2023年11月26日 0 点赞 0 评论 292 浏览 评分:9.9
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y,n; cin>>n>>x>>y; i…… 题解列表 2023年11月26日 0 点赞 0 评论 229 浏览 评分:9.9
编写题解 2772: 苹果和虫子 摘要:解题思路:无注意事项:无参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>…… 题解列表 2023年11月26日 0 点赞 0 评论 411 浏览 评分:9.9
编写题解 2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int k; string s…… 题解列表 2023年11月25日 0 点赞 0 评论 266 浏览 评分:9.9
2082: 蓝桥杯基础练习-十六进制转十进制 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[10000];int main(){ cin>>s; int…… 题解列表 2023年11月25日 0 点赞 0 评论 432 浏览 评分:0.0
2991: 八进制到十进制 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[10000];int main(){ cin>>s; int…… 题解列表 2023年11月25日 0 点赞 0 评论 317 浏览 评分:0.0
题解 2771: 大象喝水 摘要:解题思路:首先输入高和半径,然后求体积,再用20L除以体积。注意事项:在这里pi=3.14159。参考代码:#include <bits/stdc++.h>using namespace std;in…… 题解列表 2023年11月25日 0 点赞 0 评论 375 浏览 评分:9.9
2760 整形与布尔型的转换(C++) 摘要:解题思路:布尔注意事项:无参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a;…… 题解列表 2023年11月25日 0 点赞 0 评论 404 浏览 评分:8.0
编写题解 2776: A*B问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年11月25日 0 点赞 0 评论 337 浏览 评分:9.9