結果
| 問題 | No.571 3人兄弟(その2) | 
| コンテスト | |
| ユーザー |  liny_tail | 
| 提出日時 | 2020-09-17 13:27:16 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 29 ms / 2,000 ms | 
| コード長 | 230 bytes | 
| コンパイル時間 | 79 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-06-22 06:31:16 | 
| 合計ジャッジ時間 | 1,150 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 12 | 
ソースコード
txt = 'ABC'
HW = [[[j for j in input().strip().split(' ')], i] for i in range(3)]
for i in range(len(HW)):
  HW[i][0] = int(HW[i][0][0] + str(101 - int(HW[i][0][1])))
HW = sorted(HW, reverse=True)
for i in HW:
  print(txt[i[1]])
            
            
            
        