← All problemsSign in

Chhichhore

General Championship is going on in IIT Bombay. Tough fight is going on in between H3 and H4. Anni is there to solve the coding problem but since Maya has called him , so he asks your help to solve the problem. The problem is as follows: There are $N$ milkshakes available in the canteen. The price of $i$th milkshake is denoted by Ai where A is the prices array of length N. For each milkshake $i

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