{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"MD","content":"\u003cp\u003e深夜,鲁鲁修沿着一条点着$n$盏灯笼,长为$L$的直街走着。街道的起点为$0$,终点为$l$,第$i$盏灯的位置为$a_i$。每只灯笼点亮了街道上所有与它距离不超过$d$的点,其中$d$是一个正数。\u003c/p\u003e\n\u003cp\u003e鲁鲁修十分怕黑且非常节约,他想知道:要照亮整条街,灯笼的最小照明半径应该是多少?\u003c/p\u003e"}},{"title":"Input","value":{"format":"MD","content":"\u003cp\u003e第一行包含两个整数$n, L(1≤n≤1000,1≤L≤10^9$),分别表示灯笼的数量和街道的长度。\u003c/p\u003e\n\u003cp\u003e下一行包含$n$个整数$(0≤a_i≤L)$。多个灯笼可以位于同一点。灯笼可能被放置在街道的尽头。\u003c/p\u003e"}},{"title":"Output","value":{"format":"MD","content":"\u003cp\u003e输出最小光半径$d$,需要照亮整个街道。如果答案的绝对误差或相对误差不超过$10^{-9}$,则认为答案是正确的。\u003c/p\u003e"}},{"title":"Sample 1","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e7 15\n15 5 3 7 9 14 0\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2.5000000000\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Sample 2","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e2 5\n2 5\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2.0000000000\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Note","value":{"format":"MD","content":"\u003cp\u003e考虑第二个样例,取$d\u003d2$时,第一个灯笼可以照亮区间$[0, 4]$,第二个灯笼可以照亮区间$[3, 5]$。这样整条街都能被照亮。\u003c/p\u003e"}}]}