Johnny Multiplication
CodeChefOpen on judge ↗
Johnny has an assignment that he should submit tomorrow. The assignment has one question which asks to write a program to multiply two numbers without using $(*)$ operator. As Johnny finds no interest in this subject, he never listens to classes and so do not know about shift operators. He comes to you to learn about this topic. You can explain in any manner you wish. But for this question, given
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