結果
| 問題 | No.851 テストケース |
| コンテスト | |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-07-25 10:34:52 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 3,153 ms |
| + 450µs | |
| コード長 | 242 bytes |
| 記録 | |
| コンパイル時間 | 70 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-10-13 01:20:19 |
| 合計ジャッジ時間 | 2,244 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
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