結果

問題 No.851 テストケース
ユーザー 👑 tamatotamato
提出日時 2020-06-04 15:49:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 3,153 ms
コード長 388 bytes
コンパイル時間 1,212 ms
コンパイル使用メモリ 87,440 KB
実行使用メモリ 71,796 KB
最終ジャッジ日時 2023-08-19 12:25:37
合計ジャッジ時間 3,934 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,320 KB
testcase_01 AC 77 ms
71,592 KB
testcase_02 AC 77 ms
71,368 KB
testcase_03 AC 76 ms
71,472 KB
testcase_04 AC 75 ms
71,720 KB
testcase_05 AC 75 ms
71,672 KB
testcase_06 AC 75 ms
71,796 KB
testcase_07 AC 78 ms
71,640 KB
testcase_08 AC 78 ms
71,764 KB
testcase_09 AC 77 ms
71,736 KB
testcase_10 AC 76 ms
71,636 KB
testcase_11 AC 76 ms
71,464 KB
testcase_12 AC 77 ms
71,664 KB
testcase_13 AC 77 ms
71,656 KB
testcase_14 AC 77 ms
71,468 KB
testcase_15 AC 78 ms
71,588 KB
testcase_16 AC 78 ms
71,460 KB
testcase_17 AC 77 ms
71,660 KB
testcase_18 AC 77 ms
71,700 KB
testcase_19 AC 74 ms
71,764 KB
testcase_20 AC 76 ms
71,664 KB
testcase_21 AC 74 ms
71,548 KB
testcase_22 AC 74 ms
71,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    A = list(map(int, input().split()))
    if len(A) != 1:
        print("\"assert\"")
        exit()
    a = A[0]
    b = int(input())
    c = int(input())
    V = {a+b, b+c, c+a}
    V = sorted(list(V), reverse=True)
    print(V[1])


if __name__ == '__main__':
    main()
0