Lemonades
CodeChefOpen on judge ↗
Naveen likes to take a rest after doing hard work in School. For this, he goes to a nearby shop which gives him his favourite drink, "Lemonade". With time, lot many shops have opened which serve Lemonade. The price of Lemonade might be different at each of the shops. Each day, Naveen has some amount he would like to spent to drink Lemonade. Assume, on the ${i}^{th}$ day, he can spent $B[i]$ rupe
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