結果

問題 No.851 テストケース
ユーザー Shuz*
提出日時 2019-07-27 09:59:21
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 3,153 ms
コード長 255 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-02 10:45:41
合計ジャッジ時間 1,571 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
try:
    A = []
    for i in range(3):
        A.append(int(input()))
    B = [A[0] + A[1], A[1] + A[2], A[2] + A[0]]
    B = sorted(B)
    if B[1] == B[2]:
        print(B[0])
    else:
        print(B[1])
except:
    print('\"assert\"')
0