結果

問題 No.571 3人兄弟(その2)
ユーザー brthyyjpbrthyyjp
提出日時 2020-07-11 00:31:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 82,500 KB
実行使用メモリ 53,368 KB
最終ジャッジ日時 2024-04-20 02:07:38
合計ジャッジ時間 1,343 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,956 KB
testcase_01 AC 37 ms
52,348 KB
testcase_02 AC 36 ms
52,624 KB
testcase_03 AC 35 ms
52,368 KB
testcase_04 AC 35 ms
52,820 KB
testcase_05 AC 37 ms
52,740 KB
testcase_06 AC 38 ms
52,088 KB
testcase_07 AC 34 ms
52,900 KB
testcase_08 AC 36 ms
52,484 KB
testcase_09 AC 35 ms
51,892 KB
testcase_10 AC 34 ms
53,280 KB
testcase_11 AC 35 ms
52,936 KB
testcase_12 AC 34 ms
52,772 KB
testcase_13 AC 33 ms
53,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

X = []
for i in range(3):
    h, w = map(int, input().split())
    X.append((h, w, chr(i+ord('A'))))

X.sort(key=lambda x: (-x[0], x[1]))
for i in range(3):
    print(X[i][2])
0