计算三角形面积(超标准答案) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> double distance(float x1, float y1, float x2, fl…… 题解列表 2024年08月02日 1 点赞 0 评论 544 浏览 评分:9.9
计算2的幂(超简单解答) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n; scanf("%d",&n); …… 题解列表 2024年08月02日 0 点赞 0 评论 597 浏览 评分:9.9
列出最简真分数序列* 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int nums_1[100] = { 0 }; int len_1 =…… 题解列表 2024年08月02日 0 点赞 0 评论 174 浏览 评分:9.9
············&mid 摘要:解题思路://ASC||表,小写与大写之间差了32.注意事项://*str += 32; // 转换为小写字母 与 *str = *(str + 32);不同 //字符是可以直接比较的。if (*s…… 题解列表 2024年08月03日 0 点赞 0 评论 171 浏览 评分:9.9
1049: [编程入门]结构体之时间设计——题解 摘要:```c #include typedef struct{ int year,month,day; }YEAR; int main(){ YEAR a; int…… 题解列表 2024年08月03日 0 点赞 0 评论 366 浏览 评分:9.9
--------------------字符串拼接------------------------------字符串倒序---------- 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include<string.h> void strcat_custom(char* dest, const char* …… 题解列表 2024年08月03日 0 点赞 0 评论 253 浏览 评分:9.9
++++++++++++++++++ 绝对值排序+++++++++++++++++++ 摘要:解题思路:/* 一. 在C语言中,按绝对值排序一组数通常意味着你需要先计算每个数的绝对值, 然后根据这些绝对值来排序原始数组(或复制一份进行排序以避免修改原始数据)。 *//* 二.…… 题解列表 2024年08月04日 0 点赞 0 评论 339 浏览 评分:9.9
判断数正负 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int N; scanf("%d",&N); …… 题解列表 2024年08月04日 1 点赞 0 评论 792 浏览 评分:9.9
判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); if(n>-1000000 …… 题解列表 2024年08月04日 0 点赞 0 评论 472 浏览 评分:9.9
编写题解 1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:常规解题思路注意事项:精度位数,中英文符号。参考代码:#include<stdio.h>main(){ float a; scanf("%f",&a); printf("%.3f",a); …… 题解列表 2024年08月05日 1 点赞 0 评论 332 浏览 评分:9.9