Banda and Ra1
CodeChefOpen on judge ↗
Banda loves chocolates. He has a list of chocolates he wants to buy {eg: 'a','b',....,'z'}. Today shopkeeper(Ra1) is giving special discount. For every pair of chocolates of the same type Banda has to pay only for one of them provided the name is not a vowel. If it is a vowel then no such discount is available and he has to pay for both. Find the minimum amount Banda has to pay to buy all chocola
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