← All problemsSign in

Panda and Food

Problem description. Panda is hungry and goes to Richie Street, the place where there are N restaurants. The restaurants only sell plates of momos, tofus and ramen. And in one day, they will only sell exactly only one food type and that too exactly only one plate. Each restaurant i has M[i] plates of momos, T[i] plates of tofus and R[i] plates of ramen. For each food type, all the plates of tha

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