均值
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
【题目描述】
给出一组样本数据,包含n个浮点数,计算其均值,精确到小数点后4位。
【输入】
输入有两行,第一行包含一个整数n(n小于100),代表样本容量;第二行包含n个绝对值不超过1000的浮点数,代表各个样本数据。
【输出】
输出一行,包含一个浮点数,表示均值,精确到小数点后4位。
【输入样例】
2
1.0 3.0
【输出样例】
2.0000
【来源】
一本通在线评测
B班第六天测试
- Status
- Done
- Rule
- Ledo
- Problem
- 13
- Start at
- 2025-7-26 19:00
- End at
- 2025-7-26 21:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 9