Sphere in a tetrahedron
CodeChefOpen on judge ↗
Given the lengths of the edges of a tetrahedron calculate the radius of a sphere inscribed in that tetrahedron (i.e. a sphere tangent to all the faces). You can read more about a tetrehedron here - https://en.wikipedia.org/wiki/Tetrahedron Input An integer t, 1Output t lines, each consisting of a real number given with four digits decimal precision equal to the radius of a sphere inscribed in
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start