优质题解 利用二维字符数组和二级指针以及strcmp函数实现三个字符串的排序 摘要:`解题思路`: > 重点知识点:**二维数组**、**指针数组**、**二级指针**、**strcmp函数** 1. 声明一个二维字符数组`char string[i][j]`; 2. …… 题解列表 2023年11月22日 3 点赞 1 评论 3725 浏览 评分:10.0
1739: 成绩排序 (坑很多) 摘要:解题思路:注意事项:1.成绩小的在前 2.名字小的在前(比较的整个字符串不是首字母) 3.年龄小的在前参考代码:#include<stdio.h> typedef struct{ char a[10…… 题解列表 2023年11月22日 0 点赞 0 评论 714 浏览 评分:0.0
1810: [编程基础]输入输出练习之精度控制3 ```cpp#include#includeusingnamespacestd;intmain(){charch;floata;floatb;doublec;cin>>ch>>a>>b>>c;cout 题解列表 2023年11月22日 3 点赞 0 评论 877 浏览 评分:9.9
大整数加法的双向链表写法 摘要:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> struct lennum{ int num; struct l…… 题解列表 2023年11月22日 0 点赞 0 评论 403 浏览 评分:6.0
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[9],n; for(int i=0; i<9; i++) { scanf("…… 题解列表 2023年11月22日 0 点赞 1 评论 462 浏览 评分:9.9
2834: 与指定数字相同的数的个数 摘要:``` #include using namespace std; int a[100000],n,num,ans; int main(){ cin>>n; for( int i=1;…… 题解列表 2023年11月22日 0 点赞 0 评论 546 浏览 评分:0.0
题解 1234: 检查一个数是否为质数 摘要: #include using namespace std; int main(){ int a,b,d; while(cin>>a){ …… 题解列表 2023年11月22日 0 点赞 0 评论 460 浏览 评分:0.0
题解 2831: 画矩形 摘要: #include using namespace std; int main(){ int a,b,d; char c; cin>>a>…… 题解列表 2023年11月22日 0 点赞 0 评论 513 浏览 评分:0.0
3020: 最大数位置 摘要:``` #include using namespace std; int a[100000],n,maxx,num; int main(){ cin>>n; maxx = -1; …… 题解列表 2023年11月22日 0 点赞 0 评论 634 浏览 评分:9.9
判断水仙花 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,ge,shi,bai; //scanf("%d",&n)…… 题解列表 2023年11月22日 0 点赞 0 评论 474 浏览 评分:9.9