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