結果

問題 No.571 3人兄弟(その2)
ユーザー Nobita GomuNobita Gomu
提出日時 2017-10-08 12:31:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 10,572 KB
実行使用メモリ 8,280 KB
最終ジャッジ日時 2023-08-10 20:08:21
合計ジャッジ時間 1,163 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,180 KB
testcase_01 AC 16 ms
8,148 KB
testcase_02 AC 16 ms
8,088 KB
testcase_03 AC 15 ms
8,172 KB
testcase_04 AC 16 ms
8,280 KB
testcase_05 AC 17 ms
8,160 KB
testcase_06 AC 16 ms
8,160 KB
testcase_07 AC 16 ms
8,204 KB
testcase_08 AC 15 ms
8,176 KB
testcase_09 AC 15 ms
8,168 KB
testcase_10 AC 14 ms
8,208 KB
testcase_11 AC 14 ms
8,264 KB
testcase_12 AC 15 ms
8,132 KB
testcase_13 AC 15 ms
8,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import chain
from operator import itemgetter

def g(n):
    for _ in range(n):
        yield map(int, input().split())

l = map(lambda it: list(chain.from_iterable(it)), zip("ABC", g(3)))

for it in sorted(sorted(l, key=itemgetter(2)), key=itemgetter(1), reverse=True):
    print(it[0])
0