Triangles
CodeChefOpen on judge ↗
A triangle is one of the basic shapes of geometry and in terms of definition "it is a polygon with three corners or vertices and three sides or edges which are line segments" Now, one day cody bought a wire and decided to make triangles with it such that each triangle has all integral sides,with at least one integral angle. Cody as usual want to skip calculations and need your help to make it po
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