dfs c++,搜索 摘要:解题思路:对于关键点的理解:关键点的特点就是所有可行通道都要经过它,那么在搜索过程中,每找到一个可行通道,把这个通道上所有的点计数,记录这个站点i被走过的次数a【i】,最后搜索完遍历站点进行检验,如果…… 题解列表 2024年03月12日 1 点赞 0 评论 362 浏览 评分:0.0
1146: C语言训练-舍罕王的失算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ unsigned long long int s=1,t=1;/…… 题解列表 2024年03月12日 1 点赞 0 评论 248 浏览 评分:9.9
1145: C语言训练-自由落体问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>//精确计算必备using namespace std;int main(){ int n; …… 题解列表 2024年03月12日 1 点赞 0 评论 241 浏览 评分:9.9
1139: C语言训练-求素数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int i,j;//设置为全…… 题解列表 2024年03月12日 0 点赞 0 评论 200 浏览 评分:9.9
1133: C语言训练-求1+2!+3!+...+N!的和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; long long s=0,t;//求阶层,…… 题解列表 2024年03月12日 1 点赞 0 评论 206 浏览 评分:9.9
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char ch1[100],c…… 题解列表 2024年03月12日 1 点赞 0 评论 189 浏览 评分:9.9
1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:傻逼题目限制得put,get才能通过#include<iostream>#include<cstring>using namespace std;int main(){ …… 题解列表 2024年03月12日 0 点赞 0 评论 200 浏览 评分:9.9
114: C语言考试练习题_排列 摘要:解题思路:输出是有规律的,不是随便排序的。 先排序1,2,3再1,2,4再1,3,4再2,3,4. 我们会发现循环删去最后一 题解列表 2024年03月12日 1 点赞 0 评论 261 浏览 评分:7.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路:就数学公式的基本应用注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int m…… 题解列表 2024年03月12日 1 点赞 0 评论 223 浏览 评分:9.9
1108: 守望者的逃离(双线牛逼) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m,s,t; cin>>m>>s>>t; i…… 题解列表 2024年03月12日 1 点赞 0 评论 403 浏览 评分:9.9