結果

問題 No.135 とりあえず1次元の問題
ユーザー yohei-ku
提出日時 2018-03-26 22:34:44
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 103 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 16,492 KB
最終ジャッジ日時 2024-06-25 12:12:38
合計ジャッジ時間 1,805 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5 WA * 16 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
x = map(int,raw_input().split())
D = list(set(x))
D.sort(reverse=True)
print abs(D[0]-D[1])
0