← All problemsSign in

Cerberus97 Merchandise Store

Cerberus97's fan following is increasing day by day. It has increased by so much that an exclusive cerberus97 merchandise store has been opened. The store wants to procure merchandises. They have a list of $N$ factories where the $i^{th}$ factory can provide $F_i$ number of merchandise, of quality $Q_i$, at a total price of $P_i$. Also, the merchandise store has received $M$ orders from cerberus

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