{"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":"你有n杯水(杯子容量无限),每一杯里面都装了一些水,现在你想把一些杯子里的水倒到另一些里,使得每一杯的水都是一样多的。但是现在有一个问题,你的技术不好,每次从一个杯子往另一个杯子里倒水的时候(可以是小数),你会损失你倒的k%的水(比如你要倒5的水到另一个杯子里,那你这个杯子会少5的水,但另一个杯子只会获得5*(1-k%)的水)。\n现在请问你倒来倒去使他们有一样多的水以后,每个杯子里最多能有多少水。"}},{"title":"输入","value":{"format":"MD","content":"每组数据2行\n第一行是2个整数n,k,意思参考描述。\n第二行是n个数(不超过1000),代表每个被子里现在的水量。\n0\u003c\u003dn\u003c\u003d10000,0\u003c\u003dk\u003c\u003d99"}},{"title":"输出","value":{"format":"MD","content":"每组数据输出一行一个实数,为所求的最大值.\nspecial judge,与标准答案差别在10^-6以内视为正确"}},{"title":"输入样例","value":{"format":"MD","content":"3 50\n4 2 1\n2 90\n1 11"}},{"title":"输出样例","value":{"format":"MD","content":"2.000000000\n1.909090909\n"}}]}