結果
| 問題 | No.571 3人兄弟(その2) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-01-31 16:06:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 383 bytes |
| 記録 | |
| コンパイル時間 | 326 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 52,608 KB |
| 最終ジャッジ日時 | 2026-06-03 17:24:21 |
| 合計ジャッジ時間 | 1,903 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 12 |
ソースコード
#!/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])