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

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

筛选

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

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

非正常思路(java)

摘要:解题思路:利用while循环和数值替换注意事项:参考代码:import java.util.Scanner;public class Main {    public static void main……

函数求整数平均值

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ave(int a[],int n){ int sum=0; for(int……

整数平均值

摘要:解题思路:不太标准,写着玩的。注意事项:参考代码:#include<iostream>using namespace std;int aver(int *p,int n){    int s=0;  ……