結果
| 問題 |
No.851 テストケース
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-26 21:32:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 272 bytes |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-02 06:41:44 |
| 合計ジャッジ時間 | 1,521 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 17 WA * 3 |
ソースコード
#coding:utf-8
import itertools
N=int(input())
a=[]
s=[]
try:
a.append(int(input()))
except ValueError:
print('"assert"')
exit(0)
for j in range(1,N):
a.append(int(input()))
for i in itertools.combinations(a,2):
s.append(i[0]+i[1])
s.sort()
print(s[-2])