結果

問題 No.851 テストケース
ユーザー xuzijian629xuzijian629
提出日時 2019-07-26 21:23:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 252 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 10,780 KB
実行使用メモリ 8,028 KB
最終ジャッジ日時 2023-09-15 00:30:02
合計ジャッジ時間 1,509 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,760 KB
testcase_01 WA -
testcase_02 RE -
testcase_03 AC 15 ms
7,852 KB
testcase_04 AC 15 ms
7,920 KB
testcase_05 AC 15 ms
7,924 KB
testcase_06 AC 16 ms
7,856 KB
testcase_07 AC 15 ms
7,788 KB
testcase_08 AC 15 ms
7,824 KB
testcase_09 AC 15 ms
7,924 KB
testcase_10 AC 16 ms
7,964 KB
testcase_11 AC 15 ms
7,840 KB
testcase_12 AC 15 ms
7,756 KB
testcase_13 AC 16 ms
7,840 KB
testcase_14 AC 15 ms
7,820 KB
testcase_15 WA -
testcase_16 AC 15 ms
7,916 KB
testcase_17 WA -
testcase_18 AC 16 ms
7,828 KB
testcase_19 RE -
testcase_20 RE -
testcase_21 AC 16 ms
7,840 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int, input().split()))
if len(A) == 3:
	print('"assert"')
B = int(input())
C = int(input())
S = [A[0], B, C]
hoge = []
for i in range(3):
	for j in range(i + 1, 3):
		hoge.append(S[i] + S[j])
print(sorted(hoge)[::-1][1])

0