結果
| 問題 |
No.851 テストケース
|
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2020-12-26 02:55:52 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 3,153 ms |
| コード長 | 166 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-22 21:41:28 |
| 合計ジャッジ時間 | 1,651 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
n = int(input())
try:
a = [int(input()) for i in range(n)]
s = sorted(list({sum(a) - a[i] for i in range(n)}))
print(s[-2])
except:
print('"assert"')
trineutron