s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time int64 0 100 | memory stringlengths 4 6 | code_size int64 15 14.7k | code stringlengths 15 14.7k | problem_id stringlengths 6 6 | problem_description stringlengths 358 9.83k | input stringlengths 2 4.87k | output stringclasses 807
values | __index_level_0__ int64 1.1k 1.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s601548509 | p00001 | u737311644 | 1516407250 | Python | Python3 | py | Accepted | 20 | 5596 | 112 | a = []
for u in range(10):
a.append(int(input()))
for i in range(3):
print(max(a))
a.remove(max(a))
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,502 |
s607817558 | p00001 | u150984829 | 1516547049 | Python | Python3 | py | Accepted | 20 | 5600 | 74 | h=sorted([int(input())for _ in range(10)])
print(h[9],h[8],h[7],sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,503 |
s546065316 | p00001 | u150984829 | 1516547356 | Python | Python3 | py | Accepted | 20 | 5604 | 65 | print(*sorted([int(input())for _ in range(10)])[:6:-1],sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,504 |
s625801149 | p00001 | u150984829 | 1516547403 | Python | Python3 | py | Accepted | 20 | 5600 | 63 | print(*sorted(int(input())for _ in range(10))[:6:-1],sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,505 |
s396705901 | p00001 | u150984829 | 1516547775 | Python | Python3 | py | Accepted | 20 | 5600 | 59 | print(*sorted(int(input())for _ in[0]*10)[:6:-1],sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,506 |
s000171711 | p00001 | u803045841 | 1516556358 | Python | Python3 | py | Accepted | 20 | 5604 | 125 | import sys
e = sys.stdin.readlines()
e = [int(i) for i in e]
for i in range(3):
m = max(e)
e.remove(m)
print (m)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,507 |
s665517281 | p00001 | u803045841 | 1516556446 | Python | Python3 | py | Accepted | 20 | 5604 | 119 | import sys
e = [int(i) for i in sys.stdin.readlines()]
for i in range(3):
m = max(e)
e.remove(m)
print (m)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,508 |
s265277482 | p00001 | u803045841 | 1516558210 | Python | Python3 | py | Accepted | 20 | 5604 | 119 | import sys
e = [int(i) for i in sys.stdin.readlines()]
for i in range(3):
m = max(e)
e.remove(m)
print (m)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,509 |
s331822945 | p00001 | u139412071 | 1517021442 | Python | Python3 | py | Accepted | 20 | 5596 | 217 | def main():
mount = []
for i in range(10):
mount.append(int(input()))
mount.sort(reverse=True)
for i in range(3):
print(mount[i])
if __name__ == "__main__":
main()
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,510 |
s126296577 | p00001 | u536089081 | 1517565283 | Python | Python3 | py | Accepted | 20 | 5608 | 184 | from sys import stdin
highest = [0] * 3
for line in stdin:
highest.append(int(line))
highest.sort(reverse=True)
highest = highest[:-1]
print('\n'.join(map(str, highest)))
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,511 |
s375686889 | p00001 | u661290476 | 1517635632 | Python | Python3 | py | Accepted | 20 | 5592 | 102 | mountains = sorted([int(input()) for i in range(10)])
for i in range(3):
print(mountains[9 - i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,512 |
s096087985 | p00001 | u328199937 | 1517806615 | Python | Python3 | py | Accepted | 20 | 5596 | 148 | list = []
for count in range(10):
list.append(input())
list = sorted(list, key=int)
a = 9
for count in range(3):
print(list[a])
a -= 1
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,513 |
s079423214 | p00001 | u780025254 | 1517929518 | Python | Python3 | py | Accepted | 20 | 5596 | 129 | hill_list = []
for i in range(10):
hill_list.append(int(input()))
for i in sorted(hill_list, reverse=True)[:3]:
print(i)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,514 |
s521115893 | p00001 | u496101640 | 1518445015 | Python | Python3 | py | Accepted | 30 | 6324 | 400 | import sys
import functools
import itertools
import math
x = sorted(list(map(int, sys.stdin.readlines())))
... | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,515 |
s821936555 | p00001 | u775586391 | 1518477190 | Python | Python3 | py | Accepted | 20 | 5600 | 114 | lst = []
for i in range(10):
lst.append(int(input()))
lst.sort()
lst.reverse()
for i in range(3):
print(lst[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,516 |
s537408787 | p00001 | u585184379 | 1518943487 | Python | Python3 | py | Accepted | 20 | 5596 | 244 | mountains = []
count = 0
while True:
height = int(input())
if height >= 0 and height <= 10000:
mountains.append(height)
count += 1
if count == 10:
break
mountains.sort()
for i in mountains[:6:-1]:
print(i)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,517 |
s896310142 | p00001 | u613534067 | 1518964013 | Python | Python3 | py | Accepted | 20 | 5600 | 114 | a = []
for i in range(10):
a.append(int(input()))
a.sort(reverse = True)
for i in range(3):
print(a[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,518 |
s617441424 | p00001 | u328199937 | 1519035296 | Python | Python3 | py | Accepted | 20 | 5600 | 104 | a = []
for count in range(10):
a.append(int(input()))
a.sort()
print(a[9])
print(a[8])
print(a[7])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,519 |
s541827829 | p00001 | u114315703 | 1519218934 | Python | Python3 | py | Accepted | 20 | 5600 | 130 | N = 10
mnts = []
for i in range(N):
mnts.append(int(input()))
mnts.sort(reverse=True)
for mnt in mnts[:3]:
print(mnt)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,520 |
s013491427 | p00001 | u630546605 | 1519552243 | Python | Python | py | Accepted | 10 | 4652 | 317 |
cnt = 10
top3 = [0,0,0]
for x in xrange(cnt):
n = int( raw_input() )
if top3[2] > n: continue
top3[2] = n
if top3[1] > top3[2]: continue
top3[1], top3[2] = top3[2], top3[1]
if top3[0] > top3[1]: continue
top3[0], top3[1] = top3[1], top3[0]
print top3[0]
print top3[1]
print top3[2]
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,521 |
s939556560 | p00001 | u553148578 | 1519794660 | Python | Python3 | py | Accepted | 20 | 5600 | 104 | li2 = sorted([int(input()) for i in range(10)], reverse=True)
print(li2[0])
print(li2[1])
print(li2[2])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,522 |
s270294816 | p00001 | u361661357 | 1520061159 | Python | Python3 | py | Accepted | 20 | 5604 | 196 | heights = []
for num in range(10):
heights.append(input())
top_heights = [int(i) for i in heights]
top_heights.sort()
top_heights.reverse()
for top in range(3):
print(top_heights[top])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,523 |
s455533909 | p00001 | u452926933 | 1520308383 | Python | Python3 | py | Accepted | 20 | 5604 | 154 | num = 10
top = 3
mountains = [int(input()) for i in range(num)]
mountains = sorted(mountains, reverse=True)
for i in range(top):
print(mountains[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,524 |
s713421397 | p00001 | u646461156 | 1521004831 | Python | Python3 | py | Accepted | 20 | 5600 | 103 | a=[]
for i in range(10):
a.append(int(input()))
a.sort(reverse=True)
for i in range(3):
print(a[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,525 |
s414757727 | p00001 | u191664990 | 1521068515 | Python | Python3 | py | Accepted | 20 | 5600 | 244 | def ListOfTop3Hill(l):
l.sort()
l.reverse()
for i in range(3):
print(l[i])
def main():
# input
N = 10
l = [int(input()) for i in range(N)]
# solver
ListOfTop3Hill(l)
if __name__ == '__main__': main()
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,526 |
s191476527 | p00001 | u802537549 | 1521266876 | Python | Python3 | py | Accepted | 20 | 5596 | 116 | mountains = [int(input()) for _ in range(10)]
for height in sorted(mountains, reverse=True)[:3]:
print(height)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,527 |
s818353044 | p00001 | u802537549 | 1521267477 | Python | Python3 | py | Accepted | 20 | 5596 | 100 | mountains = [int(input()) for _ in range(10)]
print(*sorted(mountains, reverse=True)[:3], sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,528 |
s983839102 | p00001 | u318393460 | 1522496319 | Python | Python3 | py | Accepted | 20 | 5600 | 129 | a=[]
for i in range(10):
height = int(input())
a.append(height)
a.sort()
a.reverse()
for j in range(3):
print(a[j])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,529 |
s765644160 | p00001 | u179070318 | 1522820793 | Python | Python3 | py | Accepted | 20 | 5596 | 132 | mount = []
for i in range(10):
n = int(input())
mount.append(n)
s = sorted(mount)[::-1]
for i in range(3):
print(s[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,530 |
s645091937 | p00001 | u911420691 | 1523196112 | Python | Python | py | Accepted | 10 | 4636 | 131 | heights = []
for i in range(10):
heights.append(input())
print '\n'.join(str(x) for x in sorted(heights, reverse=True)[0:3])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,531 |
s185502658 | p00001 | u352394527 | 1523341252 | Python | Python3 | py | Accepted | 20 | 5600 | 109 | lst = []
for i in range(10):
lst.append(int(input()))
lst.sort()
print(lst[9])
print(lst[8])
print(lst[7])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,532 |
s026125468 | p00001 | u027874809 | 1523431520 | Python | Python3 | py | Accepted | 20 | 5596 | 126 | alllist = []
for _ in range(10):
alllist.append(int(input()))
for x in sorted(alllist, reverse=True)[0:3]:
print(x)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,533 |
s341625838 | p00001 | u349420778 | 1523979565 | Python | Python3 | py | Accepted | 20 | 5996 | 380 | #!/usr/bin/env python3
import collections
import sys
def read_prob():
inputs = []
try:
while True:
line = input().strip()
inputs.append(int(line))
except EOFError:
pass
return inputs
if __name__ == '__main__':
inputs = read_prob()
so = sorted(inputs)
... | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,534 |
s627573591 | p00001 | u215939156 | 1524215765 | Python | Python3 | py | Accepted | 20 | 5600 | 133 | data = []
for i in range(0,10):
data.append(int(input()))
data.sort()
data.reverse()
for i in range(0,3):
print(data[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,535 |
s081257433 | p00001 | u756242733 | 1524446882 | Python | Python3 | py | Accepted | 20 | 5604 | 124 | hills = [input() for _ in range(10)]
hills = list(map(int, hills))
hills.sort()
for i in range(3):
print(hills.pop())
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,536 |
s506592084 | p00001 | u784607872 | 1524492179 | Python | Python3 | py | Accepted | 20 | 5600 | 97 | a=[]
for i in range(10):
a.append(int(input()))
a.sort()
print(a[9])
print(a[8])
print(a[7])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,537 |
s096168612 | p00001 | u306037418 | 1524734491 | Python | Python3 | py | Accepted | 20 | 5596 | 110 | h = []
for i in range(10):
h.append(int(input()))
h.sort(reverse=True)
for i in range(3):
print(h[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,538 |
s835474358 | p00001 | u306037418 | 1524739001 | Python | Python3 | py | Accepted | 20 | 5596 | 110 | h = []
for i in range(10):
h.append(int(input()))
h.sort(reverse=True)
for i in range(3):
print(h[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,539 |
s215982828 | p00001 | u533681846 | 1524993780 | Python | Python3 | py | Accepted | 20 | 5604 | 120 | a=[]
for i in range(10):
a.append(int(input()))
a.sort()
a.reverse()
print(str(a[0])+"\n"+str(a[1])+"\n"+str(a[2]))
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,540 |
s322277312 | p00001 | u223900719 | 1525053337 | Python | Python | py | Accepted | 0 | 4632 | 103 | a=[]
for i in range(10):
n=input()
a.append(n)
a.sort()
a.reverse()
for i in range(3):
print a[i]
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,541 |
s247209646 | p00001 | u724548524 | 1525728526 | Python | Python3 | py | Accepted | 20 | 5596 | 84 | m = [int(input()) for _ in range(10)]
m.sort()
[print(m[-i]) for i in range(1, 4)]
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,542 |
s870022991 | p00001 | u945249026 | 1525764550 | Python | Python3 | py | Accepted | 20 | 5596 | 100 | h = []
for i in range(10):
h.append(int(input()))
h.sort()
print(h[9])
print(h[8])
print(h[7])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,543 |
s173702029 | p00001 | u547838013 | 1526055152 | Python | Python3 | py | Accepted | 20 | 5600 | 111 | x = []
for i in range(10):
x.append(int(input()))
x.sort()
x.reverse()
for i in range(3):
print(x[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,544 |
s501587049 | p00001 | u002010345 | 1526106287 | Python | Python3 | py | Accepted | 20 | 5592 | 105 | a=[]
for i in range(10):
a.append(int(input()))
a.sort()
for j in range(-1, -4, -1):
print(a[j])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,545 |
s421086372 | p00001 | u940977872 | 1526284263 | Python | Python3 | py | Accepted | 20 | 5596 | 133 | high = []
for i in range(10):
high.append(int(input()))
high = sorted(high, reverse=True)
for i in range(3):
print(high[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,546 |
s698218903 | p00001 | u136916346 | 1527347137 | Python | Python3 | py | Accepted | 20 | 5600 | 85 | t=sorted([int(input()) for i in range(10)])
[print(i) for i in [t[-1],t[-2],t[-3]]]
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,547 |
s370610098 | p00001 | u352394527 | 1527435872 | Python | Python3 | py | Accepted | 20 | 5604 | 117 | mountains = [int(input()) for _ in range(10)]
mountains.sort(reverse=True)
for i in range(3):
print(mountains[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,548 |
s382980750 | p00001 | u847467233 | 1528347402 | Python | Python3 | py | Accepted | 20 | 5600 | 151 | # AOJ 0001 List of Top 3 Hills
# Python3 2018.6.7 bal4u
a = [int(input()) for i in range(10)]
a.sort(reverse=True)
for i in range(3):
print(a[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,549 |
s195160629 | p00001 | u328733599 | 1528353411 | Python | Python3 | py | Accepted | 20 | 5600 | 134 | arr = []
for i in range (0,10):
temp = int(input(""))
arr.append(temp)
arr.sort()
print(arr[9])
print(arr[8])
print(arr[7])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,550 |
s684662801 | p00001 | u458530128 | 1528359841 | Python | Python3 | py | Accepted | 20 | 5596 | 93 | lst = [int(input()) for _ in range(10)]
lst.sort()
for i in range(3):
print(lst[9 - i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,551 |
s264683420 | p00001 | u767368698 | 1528434588 | Python | Python3 | py | Accepted | 20 | 5600 | 112 | h = []
for i in range(10):
h.append(int(input()))
h.sort()
h.reverse()
for i in range(3):
print(h[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,552 |
s845837181 | p00001 | u563075864 | 1529159970 | Python | Python3 | py | Accepted | 20 | 5604 | 95 | h = [int(input()) for i in range(10)]
h.sort(reverse=True)
print(h[0])
print(h[1])
print(h[2])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,553 |
s138148590 | p00001 | u244745048 | 1529385093 | Python | Python3 | py | Accepted | 20 | 5604 | 139 | num = [0 for i in range(10)]
for i in range(10):
num[i] = int(input())
num.sort()
num.reverse()
print(num[0])
print(num[1])
print(num[2])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,554 |
s521689663 | p00001 | u483248490 | 1529468804 | Python | Python3 | py | Accepted | 20 | 5588 | 257 | first = 0;
second = 0;
third = 0;
for var in range(0,10):
N = int(input())
if (N>first):
third = second
second = first
first = N
elif (N>second):
third = second
second = N
elif (N>third):
third = N
print (first)
print (second)
print (third)
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,555 |
s983112931 | p00001 | u847467233 | 1529527393 | Python | Python3 | py | Accepted | 20 | 5604 | 141 | # AOJ 0001 List of Top 3 Hills
# Python3 2018.6.7 bal4u
a = [int(input()) for i in range(10)]
a.sort(reverse=True)
print(*a[0:3], sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,556 |
s079924054 | p00001 | u316584871 | 1530001458 | Python | Python3 | py | Accepted | 20 | 5600 | 130 | hlist = []
for i in range(10):
hlist.append(int(input()))
hlist.sort()
hlist.reverse()
for i in range(3):
print(hlist[i])
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,557 |
s782306631 | p00001 | u847467233 | 1530146239 | Python | Python3 | py | Accepted | 20 | 5596 | 85 | a = [int(input()) for i in range(10)]
print(*sorted(a, reverse=True)[0:3], sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,558 |
s242438696 | p00001 | u847467233 | 1530146439 | Python | Python3 | py | Accepted | 20 | 5604 | 67 | print(*sorted([int(input()) for i in range(10)])[:6:-1], sep='\n')
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,559 |
s627448792 | p00001 | u841567836 | 1530264706 | Python | Python3 | py | Accepted | 20 | 5604 | 160 | def run():
mount_t = sorted([int(input()) for _ in range(10)])
for i in range(3):
print(mount_t[9 - i])
if __name__ == '__main__':
run()
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,560 |
s776824317 | p00001 | u995990363 | 1530662220 | Python | Python3 | py | Accepted | 20 | 5608 | 197 | def run():
n = []
for _ in range(10):
n.append(int(input()))
n = sorted(n, reverse=True)
print('\n'.join([str(_n) for _n in n[:3]]))
if __name__ == '__main__':
run()
| p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,561 |
s693879700 | p00001 | u517745281 | 1344323343 | Python | Python | py | Accepted | 10 | 4200 | 81 | print "\n".join([str(x) for x in (sorted([input() for i in range(10)])[:-4:-1])]) | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,562 |
s452354713 | p00001 | u263247628 | 1344349801 | Python | Python | py | Accepted | 10 | 4208 | 144 | list=[]
for i in range(0, 10):
n = int(raw_input())
list.append(n)
list.sort(reverse=True)
for i in range(0, 3):
print list[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,563 |
s031597853 | p00001 | u894941280 | 1344722743 | Python | Python | py | Accepted | 20 | 4208 | 146 | list=[]
for i in range(0, 10):
n = int(raw_input())
list.append(n)
list.sort(reverse=True)
for i in range(0, 3):
print list[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,564 |
s719773907 | p00001 | u229177350 | 1344879856 | Python | Python | py | Accepted | 10 | 4200 | 124 | import sys
a = []
for line in sys.stdin:
a.append(int(line))
a.sort(lambda x, y: y - x)
for i in range(3):
print a[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,565 |
s682947577 | p00001 | u449732162 | 1344961433 | Python | Python | py | Accepted | 10 | 4236 | 379 | #!/usr/bin/python
# -*- coding: utf-8 -*-
def sort(lst):
for i in range(len(lst)):
m = i
for j in range(i+1,len(lst)):
if lst[j] > lst[m]:
m = j
# swapping
tmp = lst[i]
lst[i] = lst[m]
lst[m] = tmp
return lst
lst=[] # initialize
for i in range(10):
lst.append(int(input()))... | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,566 |
s195727498 | p00001 | u575065019 | 1345635055 | Python | Python | py | Accepted | 10 | 5648 | 125 | hill = [0] * 10
for i in range(10):
hill[i] = input()
hill.sort(reverse = True)
print hill[0]
print hill[1]
print hill[2] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,567 |
s572473106 | p00001 | u575065019 | 1345635453 | Python | Python | py | Accepted | 10 | 5648 | 103 | h = []
for i in range(10):
h.append(input())
h.sort(reverse=True)
for i in range(3):
print h[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,568 |
s828030055 | p00001 | u575065019 | 1345635615 | Python | Python | py | Accepted | 10 | 5648 | 93 | h = []
for i in range(10):
h.append(input())
h.sort()
for i in range(3):
print h[9-i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,569 |
s604595012 | p00001 | u575065019 | 1345635905 | Python | Python | py | Accepted | 10 | 5648 | 90 | h = []
while len(h)<10:
h.append(input())
h.sort()
for i in range(3):
print h[9-i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,570 |
s730834140 | p00001 | u891318575 | 1346426703 | Python | Python | py | Accepted | 20 | 6036 | 254 | # -*- coding: utf-8 -*-
import sys
def main():
list = []
for i in range(10):
list.append(int(input()))
list.sort(lambda num_1, num_2: num_2 - num_1)
for i in range(3):
print(list[i])
if __name__ == '__main__':
main() | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,571 |
s642398223 | p00001 | u724947062 | 1346478324 | Python | Python | py | Accepted | 10 | 4212 | 182 | import sys
input_list = list()
for i in sys.stdin.readlines():
i = i.strip()
i = int(i)
input_list.append(i)
for i in sorted(input_list, reverse=True)[:3]:
print i | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,572 |
s606506462 | p00001 | u894941280 | 1347476732 | Python | Python | py | Accepted | 20 | 4208 | 101 | a = []
for i in range(10):
b = int(input())
a.append(b)
a.sort()
print a[9]
print a[8]
print a[7] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,573 |
s799386968 | p00001 | u894941280 | 1348653846 | Python | Python | py | Accepted | 10 | 4208 | 98 | b=[]
for i in range(10):
a=int(input())
b.append(a)
b.sort()
for i in range(9,6,-1):
print b[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,574 |
s419880444 | p00001 | u788273968 | 1349062862 | Python | Python | py | Accepted | 10 | 4208 | 137 | i = 0
arr = list()
while i<10:
j = int(raw_input())
arr.append(j)
i+=1
for h in sorted(arr, reverse = True)[:3]:
print h | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,575 |
s035353794 | p00001 | u788273968 | 1349181133 | Python | Python | py | Accepted | 10 | 5064 | 127 | i = 0
arr = list()
for i in range(10):
arr.append(raw_input())
for h in sorted(map(int, arr), reverse = True)[:3]:
print h | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,576 |
s370703784 | p00001 | u017525488 | 1349504812 | Python | Python | py | Accepted | 10 | 4204 | 112 | lst = []
for i in range(10):
lst.append(input())
lst.sort(reverse=True)
for i in range(3):
print lst[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,577 |
s408780463 | p00001 | u126791750 | 1350207921 | Python | Python | py | Accepted | 20 | 4212 | 168 | #coding: UTF-8
list = []
for i in range(0,10) :
input = int(raw_input())
list.append(input)
list.sort(reverse = True)
for i in range(0,3) :
print list[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,578 |
s273428297 | p00001 | u647766105 | 1350900546 | Python | Python | py | Accepted | 20 | 4204 | 102 | a=[]
for x in range(10):
a.append(input())
a.sort(reverse=True)
for x in range(3):
print a[x] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,579 |
s539146606 | p00001 | u719737030 | 1350904511 | Python | Python | py | Accepted | 10 | 4208 | 134 | list=[]
for i in range(10):
n = int(raw_input())
list.append(n)
list.sort(reverse=True)
for i in range(3):
print list[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,580 |
s365381008 | p00001 | u779627195 | 1352366597 | Python | Python | py | Accepted | 10 | 4204 | 160 | height = []
while 1:
try:
height.append(input())
except EOFError:
break
height.sort(reverse=True)
for i in range(3):
print height[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,581 |
s106877858 | p00001 | u504990413 | 1353136562 | Python | Python | py | Accepted | 10 | 4204 | 97 |
m = []
for i in range(10):
m.append(input())
m.sort()
print m[-1]
print m[-2]
print m[-3] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,582 |
s836950468 | p00001 | u955423223 | 1353299220 | Python | Python | py | Accepted | 20 | 4204 | 111 | list=[]
for i in range(10):
list.append(input())
list.sort(reverse=True)
for i in range(3):
print list[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,583 |
s030426584 | p00001 | u735362704 | 1354633342 | Python | Python | py | Accepted | 20 | 4212 | 252 | #!/usr/bin/env python
# coding: utf-8
def main():
inputs = []
for i in xrange(10):
inputs.append(int(raw_input()))
inputs.sort()
inputs.reverse()
for i in inputs[:3]:
print i
if __name__ == '__main__':
main() | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,584 |
s958372806 | p00001 | u647766105 | 1354796185 | Python | Python | py | Accepted | 10 | 5076 | 86 | a=[input() for i in xrange(10)]
a.sort(reverse=True)
for i in range(3):
print a[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,585 |
s630761724 | p00001 | u238820099 | 1355230832 | Python | Python | py | Accepted | 10 | 4236 | 297 | def sort_hills(lists):
lists.sort()
lists.reverse()
return lists
x1=input()
x2=input()
x3=input()
x4=input()
x5=input()
x6=input()
x7=input()
x8=input()
x9=input()
x10=input()
listA=[x1,x2,x3,x4,x5,x6,x7,x8,x9,x10]
listA=sort_hills(listA)
print listA[0]
print listA[1]
print listA[2] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,586 |
s283824162 | p00001 | u419407022 | 1355293110 | Python | Python | py | Accepted | 10 | 5440 | 102 | print '\n'.join(map(str, list(reversed(list(sorted(map(lambda x:int(raw_input()), range(10))))[7:])))) | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,587 |
s559995655 | p00001 | u560838141 | 1356509442 | Python | Python | py | Accepted | 20 | 4208 | 122 | l = [];
for i in range(10):
l.append(int(raw_input().strip()))
l.sort(lambda x, y: y - x);
for a in l[:3]:
print a | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,588 |
s551147373 | p00001 | u560838141 | 1356509833 | Python | Python | py | Accepted | 10 | 4208 | 122 | l = [];
for i in range(10):
l.append(int(raw_input().strip()))
l.sort(lambda x, y: y - x);
for a in l[:3]:
print a | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,589 |
s794297295 | p00001 | u560838141 | 1356699719 | Python | Python | py | Accepted | 10 | 4204 | 106 | l = []
for i in range(10):
l.append(input())
l.sort(lambda x, y: y - x);
for k in l[:3]:
print k; | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,590 |
s738305151 | p00001 | u665962315 | 1357418777 | Python | Python | py | Accepted | 10 | 4204 | 162 | nums = []
while True:
try:
nums.append(int(raw_input()))
except (EOFError):
break
nums.sort(reverse=True)
for i in range(3): print nums[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,591 |
s782285418 | p00001 | u560838141 | 1358652516 | Python | Python | py | Accepted | 20 | 4204 | 81 | print "\n".join([str(x) for x in (sorted([input() for i in range(10)])[:-4:-1])]) | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,592 |
s851834350 | p00001 | u238820099 | 1358860118 | Python | Python | py | Accepted | 20 | 4208 | 134 | list = []
for x in range(10):
y=input()
list.append(y)
list = sorted(list)
list.reverse()
for x in range(3):
print list[x] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,593 |
s385672419 | p00001 | u378761086 | 1360125928 | Python | Python | py | Accepted | 20 | 4216 | 283 | #!/usr/bin/python
import sys
a = 10*[0]
for i in range(10):
h = raw_input()
a[i] = int(h)
a.sort()
print a[-1]
print a[-2]
print a[-3] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,594 |
s508355022 | p00001 | u273917701 | 1360671878 | Python | Python | py | Accepted | 10 | 4204 | 143 | l=[]
while True:
try:
l.append(input())
except EOFError:
break
l.sort(reverse = True)
for i in range(3):
print l[i] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,595 |
s613279656 | p00001 | u782850731 | 1361764405 | Python | Python | py | Accepted | 10 | 4212 | 167 | from __future__ import absolute_import, print_function, unicode_literals
import sys
for h in sorted((int(line) for line in sys.stdin), reverse=True)[:3]:
print(h) | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,596 |
s896554896 | p00001 | u282635979 | 1362244978 | Python | Python | py | Accepted | 20 | 4216 | 143 | x = []
a = 1
while True:
if a != 11:
x.append(int(raw_input()))
a += 1
continue
else:
break
x.sort()
print x[9]
print x[8]
print x[7] | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,597 |
s559667779 | p00001 | u894941280 | 1362256583 | Python | Python | py | Accepted | 20 | 4212 | 164 | ans = []
def main():
for i in range(10):
ans.append(input())
else:
ans.sort()
print "{}\n{}\n{}".format(ans[-1],ans[-2],ans[-3])
main() | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,598 |
s361568161 | p00001 | u246394513 | 1362276676 | Python | Python | py | Accepted | 20 | 4204 | 76 | for x in sorted([int(raw_input()) for _ in range(10)],reverse=1)[:3]:print x | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,599 |
s542466595 | p00001 | u743065194 | 1362997955 | Python | Python | py | Accepted | 10 | 4204 | 106 | from sys import stdin
x=[int(input()) for i in range(10)]
x.sort(reverse=True)
for i in x[:3]: print(i) | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,600 |
s032452640 | p00001 | u560838141 | 1364277547 | Python | Python | py | Accepted | 20 | 4204 | 105 | a = [];
for i in range(10):
a.append(input());
a.sort(lambda x, y: y - x);
for i in a[:3]:
print i; | p00001 |
<H1>List of Top 3 Hills</H1>
<p>
There is a data which provides heights (in meter) of mountains. The data is only for ten mountains.
</p>
<p>
Write a program which prints heights of the top three mountains in descending order.
</p>
<H2>Input</H2>
<pre>
Height of mountain 1
Height of mountain 2
Height of mountain 3... | 1819
2003
876
2840
1723
1673
3776
2848
1592
922
| 3776
2848
2840
| 1,601 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.