結果
| 問題 | No.851 テストケース |
| コンテスト | |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-07-25 10:33:46 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 240 bytes |
| 記録 | |
| コンパイル時間 | 288 ms |
| コンパイル使用メモリ | 21,408 KB |
| 実行使用メモリ | 15,744 KB |
| 最終ジャッジ日時 | 2026-08-10 23:00:38 |
| 合計ジャッジ時間 | 4,187 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 18 WA * 2 |
ソースコード
n=int(input())
l=list(map(int,input().split()))
if len(l)>1:
print("assert")
exit()
for i in range(n-1):
s=int(input())
l.append(s)
p=[l[0]+l[1],l[0]+l[2],l[1]+l[2]]
p.sort()
p=list(set(p))
p.sort(reverse=True)
print(p[1])
nohakai3