結果
| 問題 | No.135 とりあえず1次元の問題 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-06 13:25:38 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 149 bytes |
| 記録 | |
| コンパイル時間 | 497 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 23,924 KB |
| 最終ジャッジ日時 | 2026-03-09 04:14:49 |
| 合計ジャッジ時間 | 6,957 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 22 |
ソースコード
n=int(input()) x=list(map(int,input().split())).sort() a=[abs(x[i]-x[i+1]) for i in range(n) if i+1<n and x[i+1]-x[i] >= 1] print(min(a) if a else 0)