結果

問題 No.851 テストケース
ユーザー neterukunneterukun
提出日時 2019-07-31 21:54:00
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 289 bytes
コンパイル時間 320 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 71,612 KB
最終ジャッジ日時 2023-09-18 17:07:59
合計ジャッジ時間 3,250 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
71,536 KB
testcase_01 AC 75 ms
71,376 KB
testcase_02 WA -
testcase_03 AC 75 ms
71,264 KB
testcase_04 AC 77 ms
71,472 KB
testcase_05 AC 77 ms
71,432 KB
testcase_06 AC 78 ms
71,076 KB
testcase_07 AC 78 ms
71,448 KB
testcase_08 AC 78 ms
71,176 KB
testcase_09 AC 76 ms
71,288 KB
testcase_10 AC 78 ms
71,304 KB
testcase_11 AC 79 ms
71,268 KB
testcase_12 AC 80 ms
71,292 KB
testcase_13 AC 79 ms
71,528 KB
testcase_14 AC 79 ms
71,384 KB
testcase_15 AC 79 ms
71,284 KB
testcase_16 AC 79 ms
71,588 KB
testcase_17 AC 79 ms
71,304 KB
testcase_18 AC 78 ms
71,612 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 77 ms
71,320 KB
testcase_22 AC 78 ms
71,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int, input().split()))

if len(a) == 3:
    print("assert")
    exit()
    
x = a[0]
y = int(input())
z = int(input())

ans_set = set([])
ans_set.add(x + y)
ans_set.add(y + z)
ans_set.add(z + x)
li = list(ans_set)
li = sorted(li, reverse = True)
print(li[1])
0