题解列表

筛选

数组插入处理

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <math.h>#include<stdio.h>int main (){ i……

无需指针的数字后移

摘要:解题思路:将最后的数字存起来,循环一次后放在第一位注意事项:参考代码:#include "stdio.h"int main(){    int a,b[1000],c,temp;    scanf("……

代码还是很简单的!!!!

摘要:解题思路                    题目要求用6.2f的格式,意思就是用占位符 %6.2f 的形式来输出               &nbs

1737: 二叉搜索树 C++/Java

摘要:##### 二叉搜索树又名二叉排序树 ##### 性质:二叉树的任一子树,其(结点值)左孩子l,num); } else{//num小于当前结点值,前往其右子树 create(……

编写题解 1197: 发工资咯

摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int n; int M; while (scanf("%d", &n) != EOF)  {int k =……

十->二进制转换qwdddddqwdq

摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int ten; int two[100]; while (scanf("%d", &ten) != EOF……

水仙花数问题

摘要:解题思路:输入一个数,分别求出个十百位,使用次方函数与原数比较_ueditor_page_break_tag_注意事项:pow函数需要引入<math.h>头文件参考代码:#include<iostre……

二级C语言-求偶数和-malloc函数与数组指针

摘要:解题思路:        对于要求输入n的大小而形成的数组,一般的数组在申请内存空间时并不能使用未知参数。所以可以用malloc函数来申请含参数的数组空间。注意事项:        malloc函数需……