結果

問題 No.570 3人兄弟(その1)
ユーザー shamioshamio
提出日時 2020-02-01 10:37:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 466 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 11,708 KB
実行使用メモリ 42,380 KB
最終ジャッジ日時 2023-10-18 23:51:40
合計ジャッジ時間 4,651 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 459 ms
42,380 KB
testcase_01 AC 457 ms
42,380 KB
testcase_02 AC 455 ms
42,380 KB
testcase_03 AC 455 ms
42,380 KB
testcase_04 AC 460 ms
42,380 KB
testcase_05 AC 460 ms
42,380 KB
testcase_06 AC 466 ms
42,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

ha = int(input())
hb = int(input())
hc = int(input())

h = [ha, hb, hc]

rank = np.argsort(h)
rank = rank[::-1]

for e in rank:
    code = ord("A") + e
    char = chr(code)
    print(char)
0