Stadistical measures

Write a program that reads non-empty sequences of real numbers and, for
each sequence, prints its minimum, its maximum and its average.

Input

Input consists of a natural number n, followed by n sequences. Each
sequence begins with the number of elements m > 0, followed by m real
numbers.

Output

For every sequence, print in a line and with four digits after the
decimal point its minimum, its maximum and its average.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:17:56.201Z

© Jutge.org, 2006–2026.
https://jutge.org
