結果

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

ソースコード

diff #

N = int(input())
a1 = list(map(int, input().split()))
if len(a1) == 1:
    a1 = a1[0]
    a2 = int(input())
    a3 = int(input())
    S = [a1 + a2, a2 + a3, a3 + a1]
    print(sorted(set(S),reverse=True)[1])
else:
    print('"assert"')
0