結果

問題 No.851 テストケース
ユーザー daku9640daku9640
提出日時 2019-07-26 21:28:57
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 232 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-02 06:38:08
合計ジャッジ時間 1,470 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 18 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
    n = int(input())
    a = input()
    if " " in a:
        return "assert"
    a = int(a)
    b = int(input())
    c = int(input())
    ans = sorted(set([a + b, a + c, b + c]))[::-1]
    return ans[1]
print(solve())
0