結果

問題 No.851 テストケース
ユーザー masato-fullmoonmasato-fullmoon
提出日時 2019-07-28 18:11:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 419 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,516 KB
実行使用メモリ 7,952 KB
最終ジャッジ日時 2023-09-15 11:33:36
合計ジャッジ時間 1,437 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,756 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 18 ms
7,788 KB
testcase_04 AC 16 ms
7,952 KB
testcase_05 AC 16 ms
7,804 KB
testcase_06 AC 16 ms
7,892 KB
testcase_07 AC 16 ms
7,808 KB
testcase_08 AC 16 ms
7,756 KB
testcase_09 AC 15 ms
7,936 KB
testcase_10 AC 15 ms
7,804 KB
testcase_11 AC 15 ms
7,648 KB
testcase_12 AC 15 ms
7,820 KB
testcase_13 AC 15 ms
7,920 KB
testcase_14 AC 15 ms
7,892 KB
testcase_15 WA -
testcase_16 AC 16 ms
7,740 KB
testcase_17 WA -
testcase_18 AC 15 ms
7,740 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 16 ms
7,724 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

input_list = []
for i in range(N):
    n = input()
    comp = n.strip('\n').split()
    if len(comp) == 3:
        break
    else:
        input_list.append(int(n))

if len(input_list) == 3:
    sums = [
            input_list[0]+input_list[1],
            input_list[0]+input_list[2],
            input_list[1]+input_list[2]
            ]
    sums.sort()
    print(sums[1])
else:
    print('assert')
0