{"trustable":true,"prependHtml":"\u003cstyle type\u003d\"text/css\"\u003e\n #problem-body \u003e pre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n word-break: break-all;\n word-wrap: break-word;\n color: #333;\n background: rgba(255, 255, 255, 0.5);\n border: 1px solid #ccc;\n border-radius: 6px;\n }\n\u003c/style\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv id\u003d\"problem-body\"\u003e\n\t\u003cp align\u003d\"justify\"\u003e\r\nOf course a Sphere Online Judge System is bound to have some tasks about spheres.\r\nSo here is one. Given the lengths of the edges of a tetrahedron\r\ncalculate the radius of a sphere inscribed in that tetrahedron\r\n(i.e. a sphere tangent to all the faces).\r\n\u003c/p\u003e\r\n\u003ch3\u003eInput\u003c/h3\u003e\r\n\u003cp align\u003d\"justify\"\u003e\r\nNumber N of test cases in a single line. ( N \u0026lt;\u003d 30 )\r\nEach of the next N lines\r\nconsists of 6 integer numbers -- the lengths of the edges of a tetrahedron\r\nseparated by single spaces. The edges are not longer than 1000 and\r\nfor the tetrahedron WXYZ, the order of the edges is: WX, WY, WZ, XY, XZ, YZ.\r\n\u003c/p\u003e\r\n\u003ch3\u003eOutput\u003c/h3\u003e\r\n\u003cp align\u003d\"justify\"\u003e\r\nN lines, each consisting of a real number given with four digits decimal precision\r\nequal to the radius of a sphere inscribed in the given tetrahedron.\r\n\u003c/p\u003e\r\n\u003ch3\u003eExample\u003c/h3\u003e\r\n\u003cp\u003e\r\n\u003c/p\u003e\u003cpre\u003e\r\nInput:\r\n2\r\n1 1 1 1 1 1\r\n1000 999 998 5 5 6\r\n\r\nOutput:\r\n0.2041\r\n1.4189\r\n\u003c/pre\u003e\r\n\u003cp\u003e\u003c/p\u003e\n\u003c/div\u003e"}}]}