尽量详细的解答 53行 内存1084 耗时0ms 摘要:随便写写,解释都写在代码里了。 ```cpp #include//输入输出用的 inline int read()//速读 习惯问题,可以用cin或scanf代替 { int x=0,f=1;…… 题解列表 2022年06月24日 0 点赞 0 评论 439 浏览 评分:9.9
剪刀石头布 摘要:解题思路:注意事项:参考代码:#include"stdio.h"enum leixing {shitou,bu,dao};enum shuying {shu=-1,ping,ying};int mai…… 题解列表 2022年06月23日 0 点赞 0 评论 1328 浏览 评分:0.0
结构体之成绩统计2 摘要:解题思路:写三个子函数,分别赋值,求平均,求最大注意事项:参考代码:#include"stdio.h"int n;struct{ char num[20]; char name[20]; …… 题解列表 2022年06月23日 0 点赞 0 评论 352 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:此处用的结构体数组,将结构体内容定义在主函数外面,这样子函数就能直接操作结构体的变量,分别用赋值函数与打印函数表述出注意事项:参考代码:#include"stdio.h"int n;stru…… 题解列表 2022年06月23日 0 点赞 0 评论 347 浏览 评分:0.0
链表合并,1052 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Student{ int num; int score;};struct Node{ …… 题解列表 2022年06月23日 0 点赞 0 评论 284 浏览 评分:0.0
简易代码(C)望空破茧 摘要:解题思路:输入一个正整数n (1≤ n ≤6),再输入一个n 行n列的矩阵,找出该矩阵中绝对值最大的元素以及它的行下标和列下标。注意事项: int n; …… 题解列表 2022年06月23日 0 点赞 0 评论 365 浏览 评分:0.0
链表的基本操作,1676 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct Node{ int data; struct No…… 题解列表 2022年06月23日 0 点赞 0 评论 319 浏览 评分:0.0
链表的基本操作,1676 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct Node{ int data; struct No…… 题解列表 2022年06月23日 0 点赞 0 评论 295 浏览 评分:0.0
归并排序,1719 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void quick_sort(int num[], int low, int high){ int i, j, temp; …… 题解列表 2022年06月23日 0 点赞 0 评论 546 浏览 评分: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 评论 571 浏览 评分:0.0