c++ 2796简单解法 摘要:#include <iostream>#include <iomanip>using namespace std;int main() { int n; cin >>…… 题解列表 2025年11月01日 1 点赞 0 评论 246 浏览 评分:0.0
求整数的和与均值 摘要:解题思路:注意事项:参考代码:total = 0arr = list(map(int,input().split()))if len(arr) != 1: for i in …… 题解列表 2025年11月06日 1 点赞 0 评论 475 浏览 评分:10.0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 摘要:参考代码:#include<stdio.h>int main(){ int n,a,i=1,b; double aver,sum=0; scanf("%d",&…… 题解列表 2025年11月07日 1 点赞 0 评论 257 浏览 评分:0.0
刷题记录2025/12/3 2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i,sum=0; double n; scanf("%lf\n&q…… 题解列表 2025年12月03日 0 点赞 0 评论 281 浏览 评分:0.0
指针编写题解 2796: 求整数的和与均值 摘要:解题思路:一看就知道。注意事项:答主学习熟练使用指针中,for(int i = 0;i<n;i++){&nbs…… 题解列表 2026年02月02日 1 点赞 0 评论 213 浏览 评分:10.0
C++求整数的和与均值 摘要:解题思路:注意事项://sum初始设为0,避免垃圾值参考代码:#include<iostream>#include<iomanip>#include<cmath>#…… 题解列表 2026年02月22日 0 点赞 0 评论 152 浏览 评分:0.0
求整数的和与均值(Python) 摘要:解题思路: 这个就是有一种情况是 输入没有按照一行一个数比如说按照:3 12 54 35 这样的输入情况,考虑这个情况之后就满分了,所以说我个人感觉这个和题目描述的有一点不一样,所以说题目有一点…… 题解列表 2023年12月07日 0 点赞 0 评论 550 浏览 评分:0.0