题解 1635: 蓝桥杯算法训练VIP-整数平均值

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

蓝桥杯算法训练VIP-整数平均值(指针)

摘要:解题思路:注意事项:参考代码:// 包含标准输入输出库 #include <stdio.h> // 定义一个函数myave,用于计算整数数组a的平均值 // 参数a是整数数组的首地址,sz是……

WU-整数平均值 (C++代码)

摘要:解题思路:用指针操作数组元素参考代码:#include<iostream> using namespace std; int a[1000]; void f(int a[],int n) { ……

蓝桥杯算法训练VIP-整数平均值

摘要:解题思路:注意事项:注意看题目样例输出,要用整除。参考代码:n=int(input()) #元素个数 ls=list(map(int,input().split())) #将输入的元素打包为整型数组……