結果

問題 No.571 3人兄弟(その2)
コンテスト
ユーザー Ryuto
提出日時 2018-01-31 16:06:52
言語 PyPy3
(8.0.0 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 25 ms / 2,000 ms
+ 663µs
コード長 383 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 67 ms
コンパイル使用メモリ 80,840 KB
実行使用メモリ 56,252 KB
最終ジャッジ日時 2026-10-09 12:31:05
合計ジャッジ時間 1,631 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#!/usr/bin/env python

from operator import itemgetter

tawe = []
tawe.append(tuple(['A'] + [int(x) for x in input().split()]))
tawe.append(tuple(['B'] + [int(x) for x in input().split()]))
tawe.append(tuple(['C'] + [int(x) for x in input().split()]))

tawe = sorted(tawe, key=itemgetter(2))
tawe = sorted(tawe, key=itemgetter(1), reverse=True)

for name in tawe:
    print(name[0])
0