結果
問題 | No.571 3人兄弟(その2) |
ユーザー |
|
提出日時 | 2018-01-31 16:06:52 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 383 bytes |
コンパイル時間 | 560 ms |
コンパイル使用メモリ | 81,792 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-12-29 23:48:18 |
合計ジャッジ時間 | 1,931 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
ソースコード
#!/usr/bin/env pythonfrom operator import itemgettertawe = []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])