编写题解 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 评论 549 浏览 评分:0.0
归并排序,1719 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void quick_sort(int num[], int low, int high){ int i, j, temp; …… 题解列表 2022年06月23日 0 点赞 0 评论 515 浏览 评分:0.0
链表的基本操作,1676 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct Node{ int data; struct No…… 题解列表 2022年06月23日 0 点赞 0 评论 269 浏览 评分:0.0
链表的基本操作,1676 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct Node{ int data; struct No…… 题解列表 2022年06月23日 0 点赞 0 评论 296 浏览 评分:0.0
简易代码(C)望空破茧 摘要:解题思路:输入一个正整数n (1≤ n ≤6),再输入一个n 行n列的矩阵,找出该矩阵中绝对值最大的元素以及它的行下标和列下标。注意事项: int n; …… 题解列表 2022年06月23日 0 点赞 0 评论 339 浏览 评分:0.0
链表合并,1052 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Student{ int num; int score;};struct Node{ …… 题解列表 2022年06月23日 0 点赞 0 评论 260 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:此处用的结构体数组,将结构体内容定义在主函数外面,这样子函数就能直接操作结构体的变量,分别用赋值函数与打印函数表述出注意事项:参考代码:#include"stdio.h"int n;stru…… 题解列表 2022年06月23日 0 点赞 0 评论 322 浏览 评分:0.0
结构体之成绩统计2 摘要:解题思路:写三个子函数,分别赋值,求平均,求最大注意事项:参考代码:#include"stdio.h"int n;struct{ char num[20]; char name[20]; …… 题解列表 2022年06月23日 0 点赞 0 评论 322 浏览 评分:0.0
剪刀石头布 摘要:解题思路:注意事项:参考代码:#include"stdio.h"enum leixing {shitou,bu,dao};enum shuying {shu=-1,ping,ying};int mai…… 题解列表 2022年06月23日 0 点赞 0 评论 1282 浏览 评分:0.0
编写题解 1020: [编程入门]猴子吃桃的问题——逆向思维 摘要:解题思路:逆向思维注意事项:参考代码:n=int(input())m=1for i in range(1,n): m=(m+1)*2print(m)…… 题解列表 2022年06月24日 0 点赞 0 评论 537 浏览 评分:0.0