### BlueBook

## p171ex6a - Max

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

### Input

The first line contains a single integer*T*(1 ≤

*T*≤ 1000000). Each of the following

*T*lines contains one real number

*x*

_{i}(-10

^{6}≤

*x*

_{i}≤ 10

^{6}).

### Output

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

### Sample Input

3 1.5 3 2.2

### Sample Output

3.0000

All Submissions

Best Solutions

**Point Value:** 3

**Time Limit:** 2.00s

**Memory Limit:** 16M

**Added:** Oct 22, 2008

**Languages Allowed:**

C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3

## Comments (Search)

SuperCytheron Dec 02, 2017 - 2:25:29 am UTC whats wrong?Ray7313on Aug 23, 2015 - 1:00:29 am UTChelios26cppon Sep 28, 2013 - 3:35:25 am UTC What's wrong with my program?wgma00on Sep 28, 2013 - 5:28:37 am UTC Re: What's wrong with my program?