Dragon Fruit
CodeChefOpen on judge ↗
Naresh loves the Dragon Fruit.So he decided to buy N dragon fruits from N different markets.Each market contains M different dragon fruits having magical powers of p[1],p[2]...p[M].It is known that each market contains the same number of fruits M and also contains the same values of magical powers.Formally the powers of dragon fruits p[1],p[2]...p[M] are the same in each market. A set of dragon f
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