結果
問題 | No.851 テストケース |
ユーザー |
![]() |
提出日時 | 2022-07-25 10:34:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 3,153 ms |
コード長 | 242 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-07-07 07:21:02 |
合計ジャッジ時間 | 2,016 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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])