PRIME TRIPLES
CodeChefOpen on judge ↗
PRIME TRIPLES The theorem of Pythagoras was known long before Pythagoras (who lived c540 B.C.), the earliest statement of it being in the Indian Sulbasutras dated c800 B.C. The dimensions of Altars in India were based on Triples. Triples are sets of three numbers(integer, decimal , positive, negetive). Any Triple of the form a,b,c represent a right angled triangle which Base = a; Height = b; Hyp
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