結果

問題 No.851 テストケース
ユーザー _KingdomOfMoray_KingdomOfMoray
提出日時 2020-01-04 00:03:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 360 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-05-02 07:47:49
合計ジャッジ時間 1,616 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
10,624 KB
testcase_01 WA -
testcase_02 AC 31 ms
10,752 KB
testcase_03 AC 30 ms
10,752 KB
testcase_04 AC 31 ms
10,752 KB
testcase_05 AC 30 ms
10,752 KB
testcase_06 AC 31 ms
10,752 KB
testcase_07 AC 29 ms
10,752 KB
testcase_08 AC 30 ms
10,880 KB
testcase_09 AC 31 ms
10,752 KB
testcase_10 AC 30 ms
10,752 KB
testcase_11 AC 30 ms
10,752 KB
testcase_12 AC 30 ms
10,752 KB
testcase_13 AC 30 ms
10,752 KB
testcase_14 AC 30 ms
10,752 KB
testcase_15 WA -
testcase_16 AC 31 ms
10,752 KB
testcase_17 WA -
testcase_18 AC 30 ms
10,880 KB
testcase_19 AC 30 ms
10,752 KB
testcase_20 AC 31 ms
10,880 KB
testcase_21 AC 31 ms
10,752 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
assert_list = list(map(int,input().split()))

res = 0
if len(assert_list) == 3:
    res = '"assert"'
else:
    added_list = [int(input()) for i in range(2)]
    added_list.insert(0, assert_list[0])
    a, b, c = added_list
    res_list = [a + b, b + c, c + a]
    sorted_res_list = sorted(res_list)
    res = sorted_res_list[1]
    
print(res)
0