結果
| 問題 | No.135 とりあえず1次元の問題 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-30 11:56:19 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 516 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 28,808 KB |
| 最終ジャッジ日時 | 2026-03-16 06:18:21 |
| 合計ジャッジ時間 | 4,511 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 RE * 1 |
ソースコード
num = int(input()) points = list(set(map(int, input().split()))) points.sort() dist = [abs(points[n] - points[n + 1]) for n in range(len(points) - 1)] print(min(dist))