結果

問題 No.571 3人兄弟(その2)
ユーザー kohei2019kohei2019
提出日時 2022-02-11 14:25:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 201 bytes
コンパイル時間 621 ms
コンパイル使用メモリ 86,900 KB
実行使用メモリ 71,056 KB
最終ジャッジ日時 2023-09-09 15:46:11
合計ジャッジ時間 2,552 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,032 KB
testcase_01 AC 72 ms
71,032 KB
testcase_02 AC 72 ms
70,964 KB
testcase_03 AC 72 ms
71,036 KB
testcase_04 AC 71 ms
70,980 KB
testcase_05 AC 71 ms
70,980 KB
testcase_06 AC 69 ms
70,768 KB
testcase_07 AC 71 ms
70,932 KB
testcase_08 AC 71 ms
70,888 KB
testcase_09 AC 71 ms
70,960 KB
testcase_10 AC 73 ms
71,056 KB
testcase_11 AC 70 ms
70,944 KB
testcase_12 AC 71 ms
70,932 KB
testcase_13 AC 71 ms
70,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ls = []
n = ['A','B','C']
for i in range(3):
    h,w = map(int,input().split())
    ls.append((h,w,n[i]))

ls.sort(key=lambda x:x[1])
ls.sort(key=lambda x:-x[0])

for i in range(3):
    print(ls[i][2])
0