[编程入门]利润计算 摘要:解题思路: 本人一开始便想到用if-else if来实现,感觉本题是不是太简单,直接分情况讨论呗,就是麻烦点,于是一直在想有没有方法可以写更少的代码。水平有限,最后还是采用else if…… 题解列表 2021年09月06日 0 点赞 0 评论 286 浏览 评分:0.0
[编程入门]利润计算(C语言) 摘要:解题思路:就是用很正常的if语句就行了注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x>0&&x<=10…… 题解列表 2021年09月06日 0 点赞 0 评论 461 浏览 评分:6.0
数组插入处理 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <math.h>#include<stdio.h>int main (){ i…… 题解列表 2021年09月06日 0 点赞 0 评论 306 浏览 评分:9.9
简单计算机器C语言实现 摘要:```c #include void main() { int c,number1,number2; scanf("%d%c%d",&number1,&c,&number2); sw…… 题解列表 2021年09月06日 0 点赞 0 评论 713 浏览 评分:9.9
无需指针的数字后移 摘要:解题思路:将最后的数字存起来,循环一次后放在第一位注意事项:参考代码:#include "stdio.h"int main(){ int a,b[1000],c,temp; scanf("…… 题解列表 2021年09月06日 0 点赞 0 评论 567 浏览 评分:0.0
【C++】非常好的一段代码,容易理解 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;bool isprime(int x){ bool flag = false; if(x <…… 题解列表 2021年09月06日 0 点赞 0 评论 292 浏览 评分:0.0
代码还是很简单的!!!! 摘要:解题思路 题目要求用6.2f的格式,意思就是用占位符 %6.2f 的形式来输出 &nbs 题解列表 2021年09月05日 0 点赞 0 评论 454 浏览 评分:0.0
1737: 二叉搜索树 C++/Java 摘要:##### 二叉搜索树又名二叉排序树 ##### 性质:二叉树的任一子树,其(结点值)左孩子l,num); } else{//num小于当前结点值,前往其右子树 create(…… 题解列表 2021年09月05日 0 点赞 0 评论 682 浏览 评分:9.9
编写题解 1197: 发工资咯 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int n; int M; while (scanf("%d", &n) != EOF) {int k =…… 题解列表 2021年09月05日 0 点赞 0 评论 491 浏览 评分:0.0
十->二进制转换qwdddddqwdq 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int ten; int two[100]; while (scanf("%d", &ten) != EOF…… 题解列表 2021年09月05日 0 点赞 0 评论 529 浏览 评分:0.0