AVG  AVERAGE
Problem: AVERAGE
Problem Statement:
Given n numbers find the average of them.
Input:
The first line consists of an integer t, the number of test cases. Each test case consists of 2 lines. In each test case the first line consists of an integer n, the count of numbers. The next line consists of n integers.
Output:
For each test case print the average of the numbers without decimal places
Sample Input:
2
5
1 2 3 4 5
3
2 1 1
Sample Output:
3
1
hide comments
pacocaballo1:
20160928 16:09:50
Ez code 

dsr:
20150421 07:33:54
Easy! Got Ac in first time! 
Added by:  cegprakash 
Date:  20110306 
Time limit:  0.100s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All 