結果
| 問題 |
No.135 とりあえず1次元の問題
|
| コンテスト | |
| ユーザー |
turner18_jp
|
| 提出日時 | 2017-10-03 20:01:50 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 156 bytes |
| コンパイル時間 | 288 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 25,472 KB |
| 最終ジャッジ日時 | 2024-11-16 06:03:07 |
| 合計ジャッジ時間 | 2,692 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | WA * 21 RE * 1 |
ソースコード
n = int(input())
li = list(set(map(int, input().split())))
li.sort
dif = []
for i in range(len(li) - 1):
dif.append(li[i + 1] - li[i])
print(min(dif))
turner18_jp