题解列表

筛选

列出最简真分数序列*

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int nums_1[100] = { 0 };          int len_1 =……

············&mid

摘要:解题思路://ASC||表,小写与大写之间差了32.注意事项://*str += 32; // 转换为小写字母 与 *str = *(str + 32);不同 //字符是可以直接比较的。if (*s……

++++++++++++++++++ 绝对值排序+++++++++++++++++++

摘要:解题思路:/*  一. 在C语言中,按绝对值排序一组数通常意味着你需要先计算每个数的绝对值, 然后根据这些绝对值来排序原始数组(或复制一份进行排序以避免修改原始数据)。 *//*    二.……

判断数正负

摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() {     int N;     scanf("%d",&N); ……

2790:分段函数

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { float N; scanf("%f",&N); if(0<=N && N<20) {……

2841: 大整数加法

摘要:```cpp #include using namespace std; struct hp { int len; int s[1000]; }; void init(string……