結果

問題 No.851 テストケース
ユーザー OhnumaOhnuma
提出日時 2020-04-10 15:55:52
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 235 bytes
コンパイル時間 459 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-15 03:52:44
合計ジャッジ時間 1,942 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 3 WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = input()
if ' ' in a:
    print('assert')
else:
    a = int(a)
    b = int(input())
    c = int(input())
    l = list(set(sorted([a+b, b+c, c+a])))
    if len(l)==2:
        print(l[0])
    else:
        print(l[1])
0