Alexa and Triplets
CodeChefOpen on judge ↗
Alexa had a pythagorean triplet which is her favorite in childhood as grown up now she became old and she forgot two numbers of it and she remembered only one number of it which is $even$ help her to find her favorite triplet sum. Note :- $(a,b,c)$ triplets are called pythagorean triples if the condition satisfied $ c^2 = a^2 + b^2.$ In the above triplet $(a,b,c)$ $b$ is the number sh
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