結果

問題 No.571 3人兄弟(その2)
コンテスト
ユーザー pof
提出日時 2020-01-23 21:25:51
言語 Python3
(3.14.7 + numpy 2.5.2 + scipy 1.18.0)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
AC  
実行時間 91 ms / 2,000 ms
+ 23µs
コード長 226 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 308 ms
コンパイル使用メモリ 21,540 KB
実行使用メモリ 15,992 KB
最終ジャッジ日時 2026-08-20 08:19:14
合計ジャッジ時間 2,813 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

h1,w1 = map(int,input().split())
h2,w2 = map(int,input().split())
h3,w3 = map(int,input().split())

a = [["A",h1,w1],["B",h2,w2],["C",h3,w3]]
b = sorted(a, key=lambda x:(x[1],-x[2]),reverse=True)

for c in b:
    print(c[0])

0