結果

問題 No.570 3人兄弟(その1)
ユーザー OhnumaOhnuma
提出日時 2020-04-09 22:29:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 380 bytes
コンパイル時間 1,043 ms
コンパイル使用メモリ 10,776 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2023-10-12 00:04:10
合計ジャッジ時間 1,778 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

ha = int(input())
hb = int(input())
hc = int(input())
H = [ha, hb, hc]
mx = max(H)
mn = min(h)

if mx==ha:
    mx_c = 'A'
elif mx==hb:
    mx_c = 'B'
else:
    mx_c = 'C'

if mn==ha:
    mn_x = 'A'
elif mn==hb:
    mn_c = 'B'
else:
    mn_c = 'C'

print(mx_c)
if mx_c!='A' and mn_c!='A':
    print('A')
elif mx_c!='B' and mn_c!='B':
    print('B')
else:
    print('C')
print(mn_c)
0