#K78027. Minimum Bonus Unit Calculation
Minimum Bonus Unit Calculation
Minimum Bonus Unit Calculation
You are given several test cases. In each test case, there are N employees and their corresponding ratings. The bonus for employee i is calculated according to the equation:
\(B_i = b \times r_i\)
where \(r_i\) is the rating of employee i and \(b\) is the bonus unit rate. In this problem, by definition, the minimum bonus unit rate \(b\) that should be applied is always 1.
Your task is to determine the minimum bonus unit rate for each test case.
Note: The ratings are given as input, but they do not affect the bonus unit calculation in this simplified scenario.
inputFormat
The input is read from standard input (stdin) and is formatted as follows:
T N1 r11 r12 ... r1N1 N2 r21 r22 ... r2N2 ... NT rT1 rT2 ... rTNT
Here, T is the number of test cases. For each test case, the first line contains an integer N denoting the number of employees, followed by a line with N integers representing their ratings.
outputFormat
For each test case, output a single line to standard output (stdout) containing the minimum bonus unit rate, which is always 1.
## sample3
3
1 2 3
4
2 3 5 7
5
4 4 4 4 4
1
1
1
</p>