Guest
Login
跳过导航链接

平均数
Time Limit:1000MS  Memory Limit:32768K

Description:

求若干个整数的平均数。

Input:

输入数据含有不多于5组的数据,每组数据由一个整数n(n≤50)打头,表示后面跟着n个整数。

Output:

对于每组数据,输出其平均数,精确到小数点后3位,每个平均数应占单独一行。

Sample Input:

3 6 5 18 
4 1 2 3 4

Sample Output:

9.667
2.500

Source:

qianneng
Submit Your Solution


Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
856