Intelligent Pairs
CodeChefOpen on judge ↗
Rj is a small kid in wonderland.He is currently researching on pairs of numbers when he came across a special pairs of numbers.He calls such pairs Intelligent pairs.Such a pair of numbers have a property such that if (A,B) are intelligent pairs then A+B+(A*B)=AB where AB refers to the concatenation of the two numbers.Example of such an intelligent pair is (6,9) as 6+9+(6*9)=69.You are given a rang
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