結果
| 問題 |
No.851 テストケース
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-23 22:44:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 3,153 ms |
| コード長 | 308 bytes |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-14 01:53:59 |
| 合計ジャッジ時間 | 1,530 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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])