結果

問題 No.851 テストケース
ユーザー amanoftheday02
提出日時 2019-08-01 12:49:21
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 3,153 ms
コード長 330 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-05 07:27:56
合計ジャッジ時間 1,517 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
A1_wk = input()
A1_list = A1_wk.split()

if len(A1_list) > 1:
    print("\"assert\"")
else:
    A1 = int(A1_list[0])
    A2 = int(input())
    A3 = int(input())
    ans_list = [A1+A2 , A2+A3 , A1+A3]
    ans_list.sort()
    if ans_list[1] == ans_list[2]:
        print(ans_list[0])
    else:
        print(ans_list[1])
0