BlueBook - Max

View as PDF

Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 16M

Problem type
BlueBook

Given T real numbers, find and output the largest one to four decimal places.

Input Specification

The first line contains a single integer T (1 \le T \le
1\,000\,000). Each of the following T lines contains one real number x_{i} (-10^{6} \le x_{i} \le 10^{6}).

Output Specification

A single line: the largest of the T real numbers.

Sample Input

3
1.5
3
2.2

Sample Output

3.0000

Comments

There are no comments at the moment.