python编写题解 2794: 求平均年龄 摘要:参考代码:n = map(int, input().split()) n = list(n) if len(n) == 1: ages = [int(input()) for i in …… 题解列表 2024年03月11日 1 点赞 0 评论 401 浏览 评分:2.0
题解 2794: 求平均年龄 摘要:解题思路:套个循环……注意事项:别抄我的,抄我的人我诅咒他电脑立刻关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace st…… 题解列表 2024年02月23日 0 点赞 0 评论 420 浏览 评分:6.0
求平均年龄 摘要:解题思路:用循环输入各个年龄,累加和注意事项:保留两位小数参考代码:#include<stdio.h>int main(){ int n,i,sum=0,age; scanf("%d",&…… 题解列表 2024年02月18日 0 点赞 0 评论 230 浏览 评分:7.3
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int sum = …… 题解列表 2024年02月05日 0 点赞 0 评论 142 浏览 评分:0.0
一点小思路,参考参考参考..... 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int b,sum,n; scanf("%d",&n); while(scanf("%d…… 题解列表 2024年01月31日 0 点赞 0 评论 770 浏览 评分:9.9
题解 2794: 求平均年龄 摘要:解题思路:注意事项:可以用两种输出格式参考代码:方法一:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m; …… 题解列表 2024年01月15日 0 点赞 0 评论 164 浏览 评分:0.0
求平均年龄 2794: 摘要:解题思路:#include <iostream>using namespace std;int main(){ int n; double sum =0; cin>>n; fo…… 题解列表 2024年01月09日 0 点赞 0 评论 115 浏览 评分:0.0
题解 2794求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年01月09日 0 点赞 0 评论 474 浏览 评分:9.9
2794: 求平均年龄 摘要:解题思路:注意事项:要保留两位小数参考代码:#include<iostream>using namespace std;int main(){ int n,m; double sum = …… 题解列表 2024年01月09日 0 点赞 0 评论 220 浏览 评分:9.9
题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m; sum=0; ci…… 题解列表 2024年01月09日 0 点赞 2 评论 165 浏览 评分:9.9