Type: RemoteJudge 1000ms 256MiB

练26.3 求平均年龄

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.

说明

班上有学生若干名,给出每名学生的年龄(整数),求班上所有学生的平均年龄,保留到小数点后两位。

输入格式

第一行有一个整数nn1n1001\le n \le 100),表示学生的人数。其后nn行每行有11个整数,表示每个学生的年龄,取值为15152525

输出格式

输出一行,该行包含一个浮点数,为要求的平均年龄,保留到小数点后两位。

样例

2
18
17
17.50

【周六9:00】 8月24日作业

Not Claimed
Status
Done
Problem
13
Open Since
2024-8-24 0:00
Deadline
2024-9-7 23:59
Extension
24 hour(s)