結果

問題 No.851 テストケース
ユーザー convexineq
提出日時 2021-03-26 04:49:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 3,153 ms
コード長 182 bytes
コンパイル時間 403 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-11-27 14:02:40
合計ジャッジ時間 2,179 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
*a, = map(int,input().split())
if len(a) > 1:
    print('"assert"')
    exit()
a = a[0]
b = int(input())
c = int(input())
s = sorted(set([a+b,b+c,c+a]))
print(s[-2])
0