結果

問題 No.571 3人兄弟(その2)
ユーザー _KingdomOfMoray_KingdomOfMoray
提出日時 2020-01-03 11:27:36
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 345 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 8,012 KB
最終ジャッジ日時 2023-08-14 19:07:40
合計ジャッジ時間 1,026 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,876 KB
testcase_01 AC 14 ms
7,980 KB
testcase_02 AC 15 ms
7,800 KB
testcase_03 AC 16 ms
7,812 KB
testcase_04 AC 16 ms
7,812 KB
testcase_05 AC 15 ms
7,848 KB
testcase_06 AC 15 ms
7,976 KB
testcase_07 AC 21 ms
7,812 KB
testcase_08 AC 15 ms
7,788 KB
testcase_09 AC 15 ms
7,816 KB
testcase_10 AC 15 ms
7,736 KB
testcase_11 AC 16 ms
7,928 KB
testcase_12 AC 16 ms
8,012 KB
testcase_13 AC 16 ms
7,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

hw_list = []
for i in range(3):
    cur_list = [int(i) for i in input().split()]
    cur_list.insert(0, i)
    hw_list.append(cur_list)
    
sorted_hw_list = sorted(hw_list, key=lambda x:x[2])
sorted_hw_list = sorted(sorted_hw_list, key=lambda x:x[1], reverse=True)

for i in range(3):
    index = sorted_hw_list[i][0]
    print(chr(index + 65))
0