結果

問題 No.851 テストケース
ユーザー NoaSaber
提出日時 2021-03-19 21:12:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 3,153 ms
コード長 185 bytes
コンパイル時間 141 ms
コンパイル使用メモリ 81,896 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-11-18 20:36:05
合計ジャッジ時間 1,902 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
try:
   l=[int(input()) for i in range(N)]
except ValueError:
   print('"assert"')
   exit()
x=list(set([l[0]+l[1],l[1]+l[2],l[0]+l[2]]))
x.sort(reverse=True)
print(x[1])
0