<PREV Problem:
NEXT>
Solved by 3595 users: ...
 < 
 < 
 < 
 < 
 < 
 < 
 < 
 < 
 < 
 < 

Max of Integers

Time limit = 5 second(s)

Memory limit = 33000 Kb

Find the maximum element in a set of integers. List of integers ends with EOF. Intergers are separated by whitespace characters (SPACE, TAB, NEWLINE). There are at most 10000 integers in the list, their modulii being less than 230.

Input#1
1 2 3 4 5 1
Output#1
5

Input#2
23
100 1000
12 34 45
Output#2
1000


Author:
Simple problem. Tests and description by Artem Voroztsov
15 March 2004

<PREV | Problem set | Search related messages | NEXT>


© acm.mipt DevGroup
The page was generated in 200ms

SW soft NIX
ID = 23.20.166.68