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