結果
問題 |
No.135 とりあえず1次元の問題
|
ユーザー |
![]() |
提出日時 | 2016-03-23 21:55:49 |
言語 | Python2 (2.7.18) |
結果 |
MLE
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 207 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 609,020 KB |
最終ジャッジ日時 | 2025-01-03 14:30:53 |
合計ジャッジ時間 | 32,004 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 17 TLE * 2 MLE * 3 |
ソースコード
#coding:utf-8 from math import fabs N=input() X=map(int,raw_input().split()) res=[] for i,t in zip(range(N),X): for u in X[i+1:]: ans=fabs(t-u) if ans!=0: res.append(ans) print int(min(res))