题解列表
简单计算机器C语言实现
摘要:```c
#include
void main()
{
int c,number1,number2;
scanf("%d%c%d",&number1,&c,&number2);
sw……
【C++】非常好的一段代码,容易理解
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;bool isprime(int x){ bool flag = false; if(x <……
代码还是很简单的!!!!
摘要:解题思路 题目要求用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……
二级C语言-求偶数和-malloc函数与数组指针
摘要:解题思路: 对于要求输入n的大小而形成的数组,一般的数组在申请内存空间时并不能使用未知参数。所以可以用malloc函数来申请含参数的数组空间。注意事项: malloc函数需……