1128: C语言训练-排序问题(1) 摘要:```cpp #include using namespace std; int px(int a[]){ for(int i=0;i>a[i]; sort(a,a+4); for(…… 题解列表 2024年08月01日 0 点赞 0 评论 362 浏览 评分:9.9
链表解决,简单易懂(c语言) 摘要:```c #include #include #include #include // 定义链表节点结构 typedef struct node { char arr…… 题解列表 2024年08月02日 0 点赞 0 评论 347 浏览 评分:9.9
计算线段长度(最标准解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double Xa,Ya,Xb,Yb; scanf("%lf %…… 题解列表 2024年08月02日 0 点赞 0 评论 387 浏览 评分:9.9
计算三角形面积(超标准答案) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> double distance(float x1, float y1, float x2, fl…… 题解列表 2024年08月02日 1 点赞 0 评论 499 浏览 评分:9.9
计算2的幂(超简单解答) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n; scanf("%d",&n); …… 题解列表 2024年08月02日 0 点赞 0 评论 549 浏览 评分:9.9
列出最简真分数序列* 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int nums_1[100] = { 0 }; int len_1 =…… 题解列表 2024年08月02日 0 点赞 0 评论 140 浏览 评分:9.9
············&mid 摘要:解题思路://ASC||表,小写与大写之间差了32.注意事项://*str += 32; // 转换为小写字母 与 *str = *(str + 32);不同 //字符是可以直接比较的。if (*s…… 题解列表 2024年08月03日 0 点赞 0 评论 139 浏览 评分:9.9
1049: [编程入门]结构体之时间设计——题解 摘要:```c #include typedef struct{ int year,month,day; }YEAR; int main(){ YEAR a; int…… 题解列表 2024年08月03日 0 点赞 0 评论 322 浏览 评分:9.9
--------------------字符串拼接------------------------------字符串倒序---------- 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include<string.h> void strcat_custom(char* dest, const char* …… 题解列表 2024年08月03日 0 点赞 0 评论 215 浏览 评分:9.9
++++++++++++++++++ 绝对值排序+++++++++++++++++++ 摘要:解题思路:/* 一. 在C语言中,按绝对值排序一组数通常意味着你需要先计算每个数的绝对值, 然后根据这些绝对值来排序原始数组(或复制一份进行排序以避免修改原始数据)。 *//* 二. …… 题解列表 2024年08月04日 0 点赞 0 评论 265 浏览 评分:9.9