結果
| 問題 | No.851 テストケース |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-23 22:44:55 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 3,153 ms |
| + 742µs | |
| コード長 | 308 bytes |
| 記録 | |
| コンパイル時間 | 59 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-09-16 03:39:40 |
| 合計ジャッジ時間 | 2,004 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
if len(a) > 1:
print('"assert"')
else:
b = int(input())
c = int(input())
a.extend([b,c])
tot = set()
for i in range(3):
for j in range(i + 1,3):
tot.add(a[i] + a[j])
tot = sorted(list(tot))
print(tot[-2])