编写题解 1061: 二级C语言-计负均正 摘要:解题思路:无注意事项:赋初值参考代码:#include <stdio.h>#include <stdlib.h>int main(){ float n=0.0; int a[20],t=0…… 题解列表 2021年07月09日 0 点赞 0 评论 287 浏览 评分:0.0
编写题解 1056: 二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ float n,t; scanf("%f",&n); …… 题解列表 2021年07月09日 0 点赞 0 评论 302 浏览 评分:0.0
python解题方法 摘要:看到前面的解题都是c,c++,java。我们python来解这道题不要太古轻松愉快。解题思路:这个算式分为两部分 1.单独计算每个阶乘的值 2.把得到的阶乘加在一起。因此很明显,这是两个循…… 题解列表 2021年07月09日 0 点赞 0 评论 285 浏览 评分:0.0
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> void fun1(float a,float b,float c); void fun2(f…… 题解列表 2021年07月08日 0 点赞 1 评论 1321 浏览 评分:9.9
1163: 排队买票-用深搜实现 摘要:不会全排列那么高科技,苦逼的用深搜。。。。。。 ```c #include void dfs(int i); int m,n,k,sum=0,piao,num; int get[12]={0…… 题解列表 2021年07月08日 0 点赞 0 评论 356 浏览 评分:9.9
自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int gongyue(int i,int j); int gongbei(int i,int j); int main() …… 题解列表 2021年07月08日 0 点赞 0 评论 327 浏览 评分:6.0
自定义函数:字符提取(C语言代码) 摘要:### 解题思路 利用指针和循环将`字符串a`中的元音字母找出,同时用`*b++=a[i]`将a中的元音字母写入b中。 ### 代码 ```c #include #include void…… 题解列表 2021年07月08日 0 点赞 0 评论 396 浏览 评分:0.0
编写题解 1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char a[100]; …… 题解列表 2021年07月08日 0 点赞 0 评论 215 浏览 评分:0.0
数字逆序输出 摘要:解题思路:创建大小为10的数组,先输入后逆序输出注意事项:输出时有空格参考代码:#include<stdio.h> int main() { int i,a[10]; scanf("%…… 题解列表 2021年07月08日 0 点赞 0 评论 375 浏览 评分:9.9
编写题解 1034: [编程入门]自定义函数之数字分离(phthon代码) 摘要:解题思路:很简单的一个函数,直接打印出来就好了。其实不用函数更简单的。你可以试试注意事项:参考代码:def main(list): for value in list: pri…… 题解列表 2021年07月08日 0 点赞 0 评论 262 浏览 评分:0.0