How Many Machines
CodeChefOpen on judge ↗
John owns a machine manufacturing company. He manufactures 3 different types of machines. Each of the machine produces some fixed output units for some fixed input units. For instance say machine 1 produce 3 output units for 2 every input units, machine 2 produce 4 output units afor every 3 input units and machine 3 produce 6 units of output for every 4 input units. He is given an order from a com
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