結果
問題 |
No.135 とりあえず1次元の問題
|
ユーザー |
![]() |
提出日時 | 2016-11-16 23:14:50 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
MLE
|
実行時間 | - |
コード長 | 132 bytes |
コンパイル時間 | 313 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 587,864 KB |
最終ジャッジ日時 | 2024-06-11 07:07:54 |
合計ジャッジ時間 | 12,809 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 2 |
other | MLE * 1 -- * 21 |
ソースコード
from itertools import combinations i=input i() X=list(map(int,i().split())) print(min([max(i-j,j-i) for i,j in combinations(X,2)]))