結果
問題 |
No.135 とりあえず1次元の問題
|
ユーザー |
![]() |
提出日時 | 2019-05-03 01:08:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 390 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 32,480 KB |
最終ジャッジ日時 | 2024-12-31 14:02:36 |
合計ジャッジ時間 | 27,121 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 WA * 1 TLE * 3 |
ソースコード
input() xs = list({int(x) for x in input().split()}) len_x = len(xs) min_distance = float("inf") for i in range(len_x - 1): for j in range(i + 1,len_x): min_distance = min([min_distance,abs(xs[i] - xs[j])]) print(min_distance)