题解列表

筛选

1052-链表合并

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef struct Node{     int num;     int grade……

1112-一元二次方程

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath> using namespace std;int main(){ int a,b,c; cin >>a ……

1113-保留字母

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ string s,s1; getli……

1115DNA题解 二维数组

摘要:```c #include int main() { int n, a, b, i, j, k, r, t = 1, num = 1, s; char c[39][39];//使用二维……

1002: [编程入门]三个数最大值

摘要:解题思路:注意事项:if的格式(有两个&)参考代码:#include <iostream> using namespace std;int main(){int a,b,c;cin>>a>>b>>c;……

003: [编程入门]密码破译

摘要:解题思路:注意事项:前面char过了,后面就不用char了参考代码:#include <iostream> using namespace std;int main(){char C,h,i,n,a;……
优质题解

【C语言】合并区间:简单的条件判断练习 - DotcppXF

摘要:【解题思路】        ① 明确何时该取第一个数组的值,何时该取第二个数组的值,总结出判断条件;        ② 明确结束条件,通过循环处理至结束。【1】判断结束的条件        根据题意,……