编写题解 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int func(int *a,int n); int main() { int arr[1000],n,i,sum,…… 题解列表 2023年01月21日 0 点赞 0 评论 216 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],i,ave,s=0; scanf("%d",&n); fo…… 题解列表 2022年12月30日 0 点赞 0 评论 217 浏览 评分:0.0
整数平均值——python简单解法(答案要取整) 摘要:解题思路:求列表元素平均数注意事项:最后输出的结果是整数,所以要整除参考代码:n=int(input())l=list(map(int,input().split()))sum=0for i in l…… 题解列表 2022年10月19日 0 点赞 0 评论 389 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a[1000],sum=0,aver; scanf("%d",&n); for(i=0;…… 题解列表 2022年07月14日 0 点赞 0 评论 309 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int n,a,t;int main(){ cin>>n; for(int i=0…… 题解列表 2022年05月16日 0 点赞 0 评论 316 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 题解(c++容易,呵呵) 摘要:解题思路:这题就是累加和求平均值。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n,a[1005];void f(int n){…… 题解列表 2022年05月15日 0 点赞 0 评论 323 浏览 评分:0.0
Hifipsysta-1635: 蓝桥杯算法训练VIP-整数平均值 摘要:```cpp #include using namespace std; int main(){ int N, tmp, sum=0; while(cin>>N){ …… 题解列表 2022年02月11日 0 点赞 0 评论 304 浏览 评分:0.0
1635(c语言解法) 摘要:解题思路: 1.创建数组 2.指针指向数组3.每拿到一个数据指针就往后移注意事项:参考代码:#include<stdio.h>#define maxsize 10int main(){ i…… 题解列表 2024年03月24日 0 点赞 0 评论 271 浏览 评分:0.0
刷题记录2025/12/1 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a; double sum=0; scanf("%d",&n…… 题解列表 2025年12月01日 0 点赞 0 评论 40 浏览 评分:0.0
2025/7/25刷题记录 摘要:解题思路:数组指针的定义 数据类型 (*数组指针名)[元素个数]=&数组名 剩下的操作用(*数组指针名)[下标]操作就可以了注意事项:参考代码://数组指针版本#inc…… 题解列表 2025年07月25日 0 点赞 0 评论 254 浏览 评分:0.0