1402: 简单的字符串 摘要:#include<stdio.h> #include<string.h> int main() { int n,i,len;char str[10000]; scanf("%d\n",&n)…… 题解列表 2022年06月23日 0 点赞 0 评论 323 浏览 评分:0.0
1733: 堆栈的使用 答案太少,凑数的 摘要:```cpp #include using namespace std; int main() { int n; while(cin >> n) { …… 题解列表 2022年06月23日 0 点赞 0 评论 514 浏览 评分:0.0
编写题解 2549: 单词统计 为数不多的c++ 摘要:```cpp #include using namespace std; int main() { string s1,s2; int n,m,i,j,cnt=0,pos=0; c…… 题解列表 2022年06月23日 0 点赞 0 评论 641 浏览 评分:0.0
归并排序,1719 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void quick_sort(int num[], int low, int high){ int i, j, temp; …… 题解列表 2022年06月23日 0 点赞 0 评论 645 浏览 评分:0.0
链表的基本操作,1676 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct Node{ int data; struct No…… 题解列表 2022年06月23日 0 点赞 0 评论 360 浏览 评分:0.0
链表的基本操作,1676 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct Node{ int data; struct No…… 题解列表 2022年06月23日 0 点赞 0 评论 375 浏览 评分:0.0
简易代码(C)望空破茧 摘要:解题思路:输入一个正整数n (1≤ n ≤6),再输入一个n 行n列的矩阵,找出该矩阵中绝对值最大的元素以及它的行下标和列下标。注意事项: int n; …… 题解列表 2022年06月23日 0 点赞 0 评论 423 浏览 评分:0.0
链表合并,1052 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Student{ int num; int score;};struct Node{ …… 题解列表 2022年06月23日 0 点赞 0 评论 343 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:此处用的结构体数组,将结构体内容定义在主函数外面,这样子函数就能直接操作结构体的变量,分别用赋值函数与打印函数表述出注意事项:参考代码:#include"stdio.h"int n;stru…… 题解列表 2022年06月23日 0 点赞 0 评论 411 浏览 评分:0.0
结构体之成绩统计2 摘要:解题思路:写三个子函数,分别赋值,求平均,求最大注意事项:参考代码:#include"stdio.h"int n;struct{ char num[20]; char name[20]; …… 题解列表 2022年06月23日 0 点赞 0 评论 418 浏览 评分:0.0