优质题解 【C语言】环形传送器:用数组实现链表功能的解法 - DotcppXF 摘要:【解题思路】 ① 链表该学还是要学的,对链表还不熟悉的也可以尝试用数组来解题; ② 对题目要求的3个操作,做对应的数组操作即可。【1】将x物品插入到当前栏位右侧并挪至插入的…… 题解列表 2022年10月07日 0 点赞 0 评论 679 浏览 评分:9.0
优质题解 【C语言】合并区间:简单的条件判断练习 - DotcppXF 摘要:【解题思路】 ① 明确何时该取第一个数组的值,何时该取第二个数组的值,总结出判断条件; ② 明确结束条件,通过循环处理至结束。【1】判断结束的条件 根据题意,…… 题解列表 2022年10月07日 0 点赞 0 评论 924 浏览 评分:5.5
003: [编程入门]密码破译 摘要:解题思路:注意事项:前面char过了,后面就不用char了参考代码:#include <iostream> using namespace std;int main(){char C,h,i,n,a;…… 题解列表 2022年10月07日 0 点赞 0 评论 606 浏览 评分:8.7
1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a>b && …… 题解列表 2022年10月07日 0 点赞 0 评论 360 浏览 评分:9.9
1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:if的格式(有两个&)参考代码:#include <iostream> using namespace std;int main(){int a,b,c;cin>>a>>b>>c;…… 题解列表 2022年10月07日 0 点赞 0 评论 411 浏览 评分:9.9
编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int a,b; scanf("%d",&a); if(a<=100000) b=a*0.1; if(a>100000&…… 题解列表 2022年10月07日 0 点赞 1 评论 299 浏览 评分:9.9
1115DNA题解 二维数组 摘要:```c #include int main() { int n, a, b, i, j, k, r, t = 1, num = 1, s; char c[39][39];//使用二维…… 题解列表 2022年10月06日 0 点赞 0 评论 628 浏览 评分:9.9
1113-保留字母 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ string s,s1; getli…… 题解列表 2022年10月06日 0 点赞 0 评论 329 浏览 评分:0.0
1112-一元二次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath> using namespace std;int main(){ int a,b,c; cin >>a …… 题解列表 2022年10月06日 0 点赞 0 评论 292 浏览 评分:0.0
1052-链表合并 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef struct Node{ int num; int grade…… 题解列表 2022年10月06日 0 点赞 0 评论 279 浏览 评分:0.0