結果
| 問題 |
No.135 とりあえず1次元の問題
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-06-21 15:44:17 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 123 bytes |
| コンパイル時間 | 309 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 20,844 KB |
| 最終ジャッジ日時 | 2024-12-25 10:59:13 |
| 合計ジャッジ時間 | 2,152 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 11 WA * 11 |
ソースコード
n = int(input()) x = sorted(map(int, input().split())) l = [x[i+1] - x[i] for i in range(n-1)] print([min(l), 0][l == []])