結果
問題 |
No.851 テストケース
|
ユーザー |
![]() |
提出日時 | 2022-07-25 10:33:46 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 240 bytes |
コンパイル時間 | 75 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-07 07:20:08 |
合計ジャッジ時間 | 1,355 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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])