Queer Triplet
CodeChefOpen on judge ↗
Problem description. Find all positive integer triplets (i, j, k) ,1 ≤ i, j,k 10 such that ( ( i * j ) - k), ( ( j * k ) - i) and ( (k * i ) - j) are all positive powers of 2 Input 1 ≤ i, j, k 10 Output List all positive integer triplets 'i j k' one in each line in the increasing order (sort on first element, then second, then third)and satisfy the condition mentioned in problem statement Co
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