結果

問題 No.851 テストケース
ユーザー neterukun
提出日時 2019-07-31 21:52:51
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 278 bytes
コンパイル時間 140 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-07-05 07:18:54
合計ジャッジ時間 1,628 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 13 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if len(a) == 3:
    print("assert")
    exit()
    
x = a[0]
y = int(input())
z = int(input())

ans_set = set([])
ans_set.add(x + y)
ans_set.add(y + z)
ans_set.add(z + x)
li = list(ans_set)
li = sorted(ans_set)
print(li[1])
0