--------------------字符串拼接------------------------------字符串倒序---------- 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include<string.h> void strcat_custom(char* dest, const char* …… 题解列表 2024年08月03日 0 点赞 0 评论 318 浏览 评分:9.9
++++++++++++++++++ 绝对值排序+++++++++++++++++++ 摘要:解题思路:/* 一. 在C语言中,按绝对值排序一组数通常意味着你需要先计算每个数的绝对值, 然后根据这些绝对值来排序原始数组(或复制一份进行排序以避免修改原始数据)。 *//* 二. …… 题解列表 2024年08月04日 0 点赞 0 评论 491 浏览 评分:9.9
判断数正负 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int N; scanf("%d",&N); …… 题解列表 2024年08月04日 1 点赞 0 评论 923 浏览 评分:9.9
判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); if(n>-1000000 …… 题解列表 2024年08月04日 0 点赞 0 评论 549 浏览 评分:9.9
编写题解 1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:常规解题思路注意事项:精度位数,中英文符号。参考代码:#include<stdio.h>main(){ float a; scanf("%f",&a); printf("%.3f",a); …… 题解列表 2024年08月05日 2 点赞 0 评论 520 浏览 评分:9.9
2790:分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { float N; scanf("%f",&N); if(0<=N && N<20) { …… 题解列表 2024年08月05日 0 点赞 0 评论 439 浏览 评分:9.9
2841: 大整数加法 摘要:```cpp #include using namespace std; struct hp { int len; int s[1000]; }; void init(string…… 题解列表 2024年08月05日 0 点赞 0 评论 522 浏览 评分:9.9
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i=0; …… 题解列表 2024年08月06日 0 点赞 0 评论 434 浏览 评分:9.9
输出结果是“inf”的看过来 摘要: 结果不管输入什么都是inf 那是因为计算阶乘的时候,累乘的那个数如果没有初始…… 题解列表 2024年08月06日 0 点赞 0 评论 749 浏览 评分:9.9
1072: 汽水瓶 包你看懂,公式解(c语言代码) 摘要:```c #include int main() { int n,meihe=0,he=0,count=0;//这里的变量是拼音,meihe就是没喝,he就是喝,count是负责计数的 …… 题解列表 2024年08月06日 1 点赞 0 评论 308 浏览 评分:9.9