<PREV Problem:
NEXT>
Solved by 3617 users: ...
UserDateAttemptTimeCMSC
xtender23 apr 2010Perl2400.062 
white_dragon08 jan 2010Perl500.064 
white_dragon09 jan 2010Perl800.064 
xtender23 apr 2010Perl2300.065 
uru15 feb 2009Ruby300.029 
V.A.KeRneL06 feb 2007Ruby900.029 
leira16 aug 2006Python100.069 
xtender23 apr 2010Perl2200.0510 
borodiy_11112 sep 2011Python100.0511 
Wolong08 jan 2010Perl200.0511 
Slayeked18 may 2012Python200.0511 
Chok09 oct 2012Python500.0511 
xtender23 apr 2010Perl2100.0511 
Alexsss18 sep 2008Python100.0611 
Languages
C++
1764
FPC
748
C
707
Java
206
Python
125
Ruby
98
Kylix
65
Perl
34
Scheme
19
Lua
10
Haskell
5
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 

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 190ms

SW soft NIX
ID = 18.232.133.231