编写题解 1132: 最大数问题 数组 通俗易懂 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[100],i,j=0,max; for(i=0…… 题解列表 2021年11月05日 0 点赞 0 评论 1349 浏览 评分:9.9
筛选素数 思路清晰 图片加代码的形式 观看体验极佳 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); for(int i=2; i<=n; i++) { int fl…… 题解列表 2021年11月05日 0 点赞 0 评论 444 浏览 评分:9.9
用选择排序法解题 摘要:我感觉把这10个数放一起比大小思路会简单些 中间再插入一个数放入数组,然后其它数移到后面数组的方法感觉不容易实现 ```c //选择排序法 #include int main () {…… 题解列表 2021年11月05日 0 点赞 0 评论 395 浏览 评分:9.9
2534wohi我是终结者C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b;char x; scanf("%d%c%d",&a,&x,&b); swit…… 题解列表 2021年11月05日 0 点赞 0 评论 524 浏览 评分:9.9
[编程入门]猴子吃桃的问题(C语言代码)简单易懂 摘要:解题思路: 一天吃剩的加一再乘二就变成吃之前的注意事项:控制for循环次数参考代码:#include<stdio.h>int main(){ int n,a=1,h=2; scanf("%d",&n)…… 题解列表 2021年11月05日 0 点赞 0 评论 602 浏览 评分:9.9
用c lass 和 循环一维 摘要:解题思路:注意事项:参考代码:class people: def __init__(self,num): self.num=num self.J=Truen=int(…… 题解列表 2021年11月05日 0 点赞 0 评论 848 浏览 评分:9.9
[编程入门]三个数字的排序------(Python) 摘要:利用Python函数: sort-----对列表进行排序 ```python team=list(map(int,input().split())) team.sort() for i in…… 题解列表 2021年11月05日 0 点赞 0 评论 1091 浏览 评分:9.9
简单易懂的sn求和 摘要:解题思路:如下代码注意事项:参考代码:#include<stdio.h>#include<math.h>int main() { int a, s, n, i, b; a = 2; s = 0;…… 题解列表 2021年11月05日 0 点赞 0 评论 399 浏览 评分:9.9
二级c语言-平均值计算--用Python求解----(Python) 摘要:通过sum函数求和用len计算个数同过for循环遍历判断大于平均值加1 ```python t=list(map(int,input().split())) n=0 avg=sum(t)/le…… 题解列表 2021年11月05日 0 点赞 0 评论 1452 浏览 评分:9.9