刷题记录2025/12/1 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a; double sum=0; scanf("%d",&n…… 题解列表 2025年12月01日 0 点赞 3 评论 230 浏览 评分:0.0
2025/7/25刷题记录 摘要:解题思路:数组指针的定义 数据类型 (*数组指针名)[元素个数]=&数组名 剩下的操作用(*数组指针名)[下标]操作就可以了注意事项:参考代码://数组指针版本#inc…… 题解列表 2025年07月25日 0 点赞 0 评论 366 浏览 评分:0.0
python整数平均值 摘要:解题思路:注意事项:参考代码:while True: try: a = int(input()) b = list(map(int,input().strip().s…… 题解列表 2024年09月05日 1 点赞 0 评论 676 浏览 评分:0.0
减肥减肥减肥减肥 摘要:解题思路:无注意事项:无参考代码:n=input()n=int(n)u=list(map(int,input().split()))j=0for i in u: j=i+je=j/ne=int(…… 题解列表 2024年07月05日 0 点赞 0 评论 480 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:1.封装成函数,传入数据量n即可,函数返回平均值,2.函数通过循环获取输入,并累加求和,3.计算平均值,函数结果回传注意事项:此题要求得到平均值,但结果是一个整数,如例子给出的 3 4 0 …… 题解列表 2024年06月01日 1 点赞 0 评论 377 浏览 评分:0.0
C语言 1635 整数平均值 不用指针数组 摘要:参考代码:#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <ctyp…… 题解列表 2024年04月15日 0 点赞 0 评论 411 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100]; int i; int b; int c=0; scanf("%…… 题解列表 2024年04月12日 0 点赞 0 评论 319 浏览 评分:0.0
编写题解 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n; int a[100]={0}; int *p…… 题解列表 2022年10月18日 0 点赞 0 评论 319 浏览 评分:0.0
1635(c语言解法) 摘要:解题思路: 1.创建数组 2.指针指向数组3.每拿到一个数据指针就往后移注意事项:参考代码:#include<stdio.h>#define maxsize 10int main(){ i…… 题解列表 2024年03月24日 0 点赞 0 评论 351 浏览 评分:0.0
解 1635: 蓝桥杯算法训练VIP-整数平均值的方法之一 摘要:解题思路:从题目信息中可知:1.第一行表示第二行将要输入的元素的数量(n)   题解列表 2024年03月15日 0 点赞 0 评论 404 浏览 评分:0.0