結果
問題 | No.135 とりあえず1次元の問題 |
ユーザー |
![]() |
提出日時 | 2015-09-13 23:43:35 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 121 ms / 5,000 ms |
コード長 | 125 bytes |
コンパイル時間 | 280 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 16,448 KB |
最終ジャッジ日時 | 2025-01-03 07:39:01 |
合計ジャッジ時間 | 2,127 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
input() x = sorted(list(set(map(int,raw_input().split())))) n = len(x)-1 print min(x[i+1]-x[i] for i in range(n)) if n else 0