c语言链表的排序 ```c#include#includetypedefstruct_student{intnum;intscore;}student;typedefstruct_Node{studentstu;//数据的打包,目的是后续分开指针,单独比较数据的内容比如num, 题解列表 2023年12月02日 0 点赞 0 评论 2262 浏览 评分:0.0
简单易懂的解题思路 摘要:解题思路:利用while循环和for循环的小白解题思路。注意事项:参考代码:#include<stdio.h>int main(){ int n, i; scanf("%d", &n);int a[n…… 题解列表 2023年12月02日 0 点赞 0 评论 578 浏览 评分:0.0
最简答案 一个一维数组就搞定 摘要:解题思路:x/n+1 可以算出在哪一行x%n+1可以算出在哪一列注意事项:简单无脑,把最后输的行列搞明白就行参考代码:#include<stdio.h>int main(){ int arr[200]…… 题解列表 2023年12月02日 0 点赞 0 评论 510 浏览 评分:0.0
编写题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct Student{ int a,b; struct Student*n…… 题解列表 2023年12月02日 0 点赞 0 评论 580 浏览 评分:0.0
求圆的面积+公式 摘要:解题思路:圆面积=π*r*r注意事项:r=圆的半径参考代码:#include<iostream>using namespace std;#include <iomanip>int main(){ …… 题解列表 2023年12月02日 0 点赞 0 评论 1024 浏览 评分:0.0
java字符串p型编码 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static String pEncoding(String…… 题解列表 2023年12月02日 0 点赞 0 评论 557 浏览 评分:0.0
快速排序(c++代码) 摘要:解题思路:注意事项:参考代码:const int MAX = 10;int arr[MAX];void qsort(int l, int r) { if (l > r)return; int i = …… 题解列表 2023年12月02日 0 点赞 0 评论 500 浏览 评分:0.0
十六进制转八进制 解题思路:先从十六进制转十进制,要注意对于字母和数字的分别处理,再把十进制转为八进制参考代码:```c#include#include#include#defineMAXSIZE100001intmain(){intn;scanf("%d",&n);for(inti=0;i 题解列表 2023年12月02日 0 点赞 0 评论 574 浏览 评分:0.0
按比例计算成绩 摘要:解题思路: 1.注意计算公式 2.考虑输出结果类型 提示中输出结果不含小数 也就是说 输出结果为整型(int) 3.考虑double型向int型的强制转换 需要用到 i…… 题解列表 2023年12月02日 0 点赞 0 评论 845 浏览 评分:0.0
解法11111111111111 摘要:解题思路:注意事项:格式不要弄错参考代码:#include <stdio.h> int main(){ int n, k = 2, i = 0, q = 0; int a[10]; …… 题解列表 2023年12月02日 0 点赞 0 评论 560 浏览 评分:0.0