結果
| 問題 | No.135 とりあえず1次元の問題 |
| コンテスト | |
| ユーザー |
taba
|
| 提出日時 | 2016-04-13 23:42:08 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 129 ms / 5,000 ms |
| コード長 | 152 bytes |
| 記録 | |
| コンパイル時間 | 192 ms |
| コンパイル使用メモリ | 77,860 KB |
| 最終ジャッジ日時 | 2025-12-03 20:14:54 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
n=input() x=sorted(list(set(map(int,raw_input().split())))) if len(x)==1: print 0 exit() y=[] for i in range(len(x)-1): y+=[x[i+1]-x[i]] print min(y)
taba