指针编写题解 2796: 求整数的和与均值 摘要:解题思路:一看就知道。注意事项:答主学习熟练使用指针中,for(int i = 0;i<n;i++){&nbs…… 题解列表 2026年02月02日 1 点赞 0 评论 47 浏览 评分:10.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 评论 156 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 摘要:参考代码:#include<stdio.h>int main(){ int n,a,i=1,b; double aver,sum=0; scanf("%d",&…… 题解列表 2025年11月07日 1 点赞 0 评论 176 浏览 评分:0.0
求整数的和与均值 摘要:解题思路:注意事项:参考代码:total = 0arr = list(map(int,input().split()))if len(arr) != 1: for i in …… 题解列表 2025年11月06日 1 点赞 0 评论 209 浏览 评分:10.0
c++ 2796简单解法 摘要:#include <iostream>#include <iomanip>using namespace std;int main() { int n; cin >>…… 题解列表 2025年11月01日 1 点赞 0 评论 167 浏览 评分:0.0
2025/7/25刷题记录 摘要:解题思路:两个整数相除得浮点数结果要将其中一个数强转为浮点要不然会精度丢失注意事项:参考代码:#include<stdio.h>int main(){ int a…… 题解列表 2025年07月25日 0 点赞 0 评论 296 浏览 评分:0.0
求整数的和与均值 摘要:解题思路:注意事项:参考代码:int main(){ int n = 0; scanf("%d", &n);…… 题解列表 2025年06月13日 2 点赞 0 评论 386 浏览 评分:10.0
编写题解 2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ long long n,sum=0;cin>>n; for…… 题解列表 2024年12月22日 1 点赞 0 评论 528 浏览 评分:0.0