結果
| 問題 |
No.135 とりあえず1次元の問題
|
| コンテスト | |
| ユーザー |
zakuro9715
|
| 提出日時 | 2015-10-11 01:06:07 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 142 bytes |
| コンパイル時間 | 160 ms |
| コンパイル使用メモリ | 12,160 KB |
| 実行使用メモリ | 24,996 KB |
| 最終ジャッジ日時 | 2025-01-03 07:55:22 |
| 合計ジャッジ時間 | 2,004 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 RE * 1 |
ソースコード
input()
s = list(sorted(set(map(int, input().split()))))
if s:
print(min([s[i] - s[i - 1] for i in range(1, len(s))]))
else:
print(0)
zakuro9715