刷题记录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 评论 62 浏览 评分: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 评论 119 浏览 评分:0.0
2025/7/25刷题记录 摘要:解题思路:两个整数相除得浮点数结果要将其中一个数强转为浮点要不然会精度丢失注意事项:参考代码:#include<stdio.h>int main(){ int a…… 题解列表 2025年07月25日 0 点赞 0 评论 236 浏览 评分:0.0
求整数的和与均值 摘要:解题思路:注意事项:参考代码:int main(){ int n = 0; scanf("%d", &n);…… 题解列表 2025年06月13日 1 点赞 0 评论 333 浏览 评分:10.0
新手必看,*1.0的运用技巧 摘要:解题思路:对于for的应用程度注意事项:参考代码:#include <stdio.h>int main() { int n,b,sum=0.0; scanf("%d ",&n); for(int i…… 题解列表 2024年11月04日 2 点赞 0 评论 610 浏览 评分:10.0
无聊的星期六 摘要:无聊上个动态。 #include<stdio.h> #include<stdlib.h> int main(){ int size,sum=0; scanf("%d",&size)…… 题解列表 2024年05月25日 0 点赞 0 评论 519 浏览 评分:0.0
编写题解 2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a,i,sum=0; scanf("%d",&n); for(i=1;i<=n;i…… 题解列表 2024年02月04日 0 点赞 0 评论 385 浏览 评分:0.0
指针数组的方式求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number, total = 0; int *p; scanf("%d", &numbe…… 题解列表 2024年01月11日 0 点赞 0 评论 478 浏览 评分:9.9
2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; double sum=0.0; scanf("%d",&n); int a[n]; for(int…… 题解列表 2023年11月24日 1 点赞 0 评论 302 浏览 评分:0.0