我失误的的1034 C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int x;scanf("%d",&x); int a,b,c,d; a=x/1000%10;b=x/100%…… 题解列表 2021年11月05日 0 点赞 0 评论 644 浏览 评分:0.0
1026就是;铺C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){int a[10],i;for(i=0;i<10;i++){scanf("%d",&a[i]);}for(i=9…… 题解列表 2021年11月05日 0 点赞 0 评论 470 浏览 评分:0.0
题解 1089: A+B for Input-Output Practice (V) 摘要:#include<stdio.h>#define N 50int calculate(int n);//定义一个行元素求和函数void main(){ int i,n,m;//n为行数 int…… 题解列表 2021年11月05日 0 点赞 1 评论 335 浏览 评分:6.0
二级c语言-偶数求和--用Python求解----(Python) 摘要:第一句输入可以不要,但是提交判断时需要 ```python s=int(input()) t=list(map(int,input().split())) n=0 for i in t: …… 题解列表 2021年11月05日 0 点赞 0 评论 379 浏览 评分:6.0
二级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 评论 1353 浏览 评分: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 评论 338 浏览 评分:9.9
[编程入门]第一个HelloWorld程序 摘要:解题思路:作为初学者的第一个程序,这个程序很简单,用printf打印出来就好了注意事项:1.注意*号的数量2.注意换行.参考代码:#include <stdio.h>int main(){ pr…… 题解列表 2021年11月05日 0 点赞 0 评论 693 浏览 评分:6.0
1234: 检查一个数是否为质数-题解 摘要:解题思路:注意事项:参考代码:a = int(input())if a <= 1: print("N")elif a == 2: print("Y")else: for i in r…… 题解列表 2021年11月05日 0 点赞 0 评论 1070 浏览 评分:0.0
[编程入门]三个数字的排序------(Python) 摘要:利用Python函数: sort-----对列表进行排序 ```python team=list(map(int,input().split())) team.sort() for i in…… 题解列表 2021年11月05日 0 点赞 0 评论 1029 浏览 评分:9.9
[编程入门]数字逆序输出-----详解(Python) 摘要:reverse---可以将列表逆序 ```python team=list(map(int,input().split())) team.reverse() for i in team: …… 题解列表 2021年11月05日 0 点赞 0 评论 850 浏览 评分:9.3