Skip to content

Instantly share code, notes, and snippets.

@meki
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meki/8762617 to your computer and use it in GitHub Desktop.
Save meki/8762617 to your computer and use it in GitHub Desktop.
AOJ_0001_PYTHON
# 配列を作成
n = list()
for var in range(0, 10):
# 標準入力から一行読み込み
# int にキャスト
n.append( int(raw_input()) )
# 配列を降順ソート
n.sort(reverse = True)
for var in range(0, 3):
print n[var]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment