编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年06月16日 1 点赞 0 评论 683 浏览 评分:9.9
java求平均年龄 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年04月21日 0 点赞 0 评论 294 浏览 评分:0.0
六行简便 编写题解 2794: 求平均年龄 摘要:解题思路:a=list(map(int,input().split()))注意事项:将输入一行表示参考代码:n=int(input())a=list(map(int,input().split()))…… 题解列表 2024年04月06日 2 点赞 0 评论 1115 浏览 评分:9.9
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 评论 491 浏览 评分:2.0
题解 2794: 求平均年龄 摘要:解题思路:套个循环……注意事项:别抄我的,抄我的人我诅咒他电脑立刻关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace st…… 题解列表 2024年02月23日 0 点赞 0 评论 488 浏览 评分:6.0
求平均年龄 摘要:解题思路:用循环输入各个年龄,累加和注意事项:保留两位小数参考代码:#include<stdio.h>int main(){ int n,i,sum=0,age; scanf("%d",&…… 题解列表 2024年02月18日 0 点赞 0 评论 335 浏览 评分:7.3
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int sum = …… 题解列表 2024年02月05日 0 点赞 0 评论 188 浏览 评分:0.0
一点小思路,参考参考参考..... 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int b,sum,n; scanf("%d",&n); while(scanf("%d…… 题解列表 2024年01月31日 0 点赞 0 评论 838 浏览 评分:9.9
题解 2794: 求平均年龄 摘要:解题思路:注意事项:可以用两种输出格式参考代码:方法一:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m; …… 题解列表 2024年01月15日 0 点赞 0 评论 206 浏览 评分:0.0
求平均年龄 2794: 摘要:解题思路:#include <iostream>using namespace std;int main(){ int n; double sum =0; cin>>n; fo…… 题解列表 2024年01月09日 0 点赞 0 评论 170 浏览 评分:0.0