← All problemsSign in

FooDX

You are the chef of a restaurant called FooDX. You have been asked by the Manager of the restaurant to prepare a Price list of all the dishes. The product of prices of all the ingredients of a dish give its total price. Your manager tells you a price:-M. He then asks you to prepare as many dishes as possible using N number of ingredients. The Manager wants to know the number of different dishes yo

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start