1145: C语言训练-自由落体问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>//精确计算必备using namespace std;int main(){ int n; …… 题解列表 2024年03月12日 1 点赞 0 评论 265 浏览 评分:9.9
1139: C语言训练-求素数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int i,j;//设置为全…… 题解列表 2024年03月12日 0 点赞 0 评论 231 浏览 评分: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 评论 231 浏览 评分:9.9
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char ch1[100],c…… 题解列表 2024年03月12日 1 点赞 0 评论 209 浏览 评分:9.9
1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:傻逼题目限制得put,get才能通过#include<iostream>#include<cstring>using namespace std;int main(){ …… 题解列表 2024年03月12日 0 点赞 0 评论 224 浏览 评分:9.9
114: C语言考试练习题_排列 摘要:解题思路:输出是有规律的,不是随便排序的。 先排序1,2,3再1,2,4再1,3,4再2,3,4. 我们会发现循环删去最后一 题解列表 2024年03月12日 1 点赞 0 评论 290 浏览 评分:7.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路:就数学公式的基本应用注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int m…… 题解列表 2024年03月12日 1 点赞 0 评论 249 浏览 评分:9.9
1108: 守望者的逃离(双线牛逼) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m,s,t; cin>>m>>s>>t; i…… 题解列表 2024年03月12日 1 点赞 0 评论 452 浏览 评分:9.9
2680: 蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路: 在这段代码中,int s = int(str1[1])-48; 的目的是将输入的字符串中的第二个字符转换为整数。这是因为输入的字符串表示的是一个数字,而不是一个…… 题解列表 2024年03月12日 1 点赞 0 评论 419 浏览 评分:10.0
使用sort方法自定义cmp实现排序,直接进行大小比较 摘要:解题思路:整体思路是将要比较的字符串放入一个字符数组里面,为了便于写cmp方法进行比较,我在这里用结构体将其保存,开了1000的长度是因为一开始我开了10怎么也通过不了第二个测试点,检查算法没有问题,…… 题解列表 2024年03月12日 0 点赞 0 评论 465 浏览 评分:9.9