結果

問題 No.851 テストケース
ユーザー convexineqconvexineq
提出日時 2021-03-26 04:49:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 3,153 ms
コード長 182 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 71,492 KB
最終ジャッジ日時 2023-08-18 10:05:37
合計ジャッジ時間 3,267 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,288 KB
testcase_01 AC 69 ms
71,156 KB
testcase_02 AC 71 ms
71,284 KB
testcase_03 AC 70 ms
71,316 KB
testcase_04 AC 69 ms
71,244 KB
testcase_05 AC 68 ms
71,232 KB
testcase_06 AC 69 ms
71,492 KB
testcase_07 AC 69 ms
71,388 KB
testcase_08 AC 69 ms
70,920 KB
testcase_09 AC 68 ms
71,452 KB
testcase_10 AC 68 ms
71,464 KB
testcase_11 AC 69 ms
71,376 KB
testcase_12 AC 70 ms
71,224 KB
testcase_13 AC 70 ms
71,024 KB
testcase_14 AC 70 ms
71,152 KB
testcase_15 AC 70 ms
71,164 KB
testcase_16 AC 70 ms
71,364 KB
testcase_17 AC 69 ms
71,424 KB
testcase_18 AC 68 ms
71,288 KB
testcase_19 AC 70 ms
71,172 KB
testcase_20 AC 70 ms
71,168 KB
testcase_21 AC 68 ms
71,088 KB
testcase_22 AC 67 ms
71,160 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
*a, = map(int,input().split())
if len(a) > 1:
    print('"assert"')
    exit()
a = a[0]
b = int(input())
c = int(input())
s = sorted(set([a+b,b+c,c+a]))
print(s[-2])
0