1159: 偶数求和(还不错) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,m; int num[100]; num…… 题解列表 2024年03月12日 1 点赞 0 评论 544 浏览 评分:9.9
1148: C语言训练-计算1977!* 摘要:解题思路: 利用数组进行大数计算注意事项: 没事的,背下来就好了!!!参考代码:#include<iostream>using namespace std;int main(){ i…… 题解列表 2024年03月12日 1 点赞 0 评论 654 浏览 评分:9.9
dfs c++,搜索 解题思路:对于关键点的理解:关键点的特点就是所有可行通道都要经过它,那么在搜索过程中,每找到一个可行通道,把这个通道上所有的点计数,记录这个站点i被走过的次数a【i】,最后搜索完遍历站点进行检验,如果可行通道数等于这个点被走过的次数,说明它就是关键点注意事项:注意一些判断前提参考代码:#include 题解列表 2024年03月12日 1 点赞 0 评论 788 浏览 评分:0.0
1146: C语言训练-舍罕王的失算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ unsigned long long int s=1,t=1;/…… 题解列表 2024年03月12日 1 点赞 0 评论 608 浏览 评分:9.9
1145: C语言训练-自由落体问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>//精确计算必备using namespace std;int main(){ int n; …… 题解列表 2024年03月12日 1 点赞 0 评论 612 浏览 评分:9.9
1139: C语言训练-求素数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int i,j;//设置为全…… 题解列表 2024年03月12日 0 点赞 0 评论 517 浏览 评分: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 评论 536 浏览 评分:9.9
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char ch1[100],c…… 题解列表 2024年03月12日 1 点赞 0 评论 499 浏览 评分:9.9
1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:傻逼题目限制得put,get才能通过#include<iostream>#include<cstring>using namespace std;int main(){ …… 题解列表 2024年03月12日 0 点赞 0 评论 478 浏览 评分:9.9
114: C语言考试练习题_排列 摘要:解题思路:输出是有规律的,不是随便排序的。 先排序1,2,3再1,2,4再1,3,4再2,3,4. 我们会发现循环删去最后一 题解列表 2024年03月12日 1 点赞 0 评论 572 浏览 评分:7.0