Love All Letters
CodeChefOpen on judge ↗
Sachin recently inherited an ancient papyrus that contained some text. Unfortunately, the text was not a PANGRAM (Google Meaning). Now, Sachin has a particular liking for holoalphabetic strings and the text bothers him. The good news is that Sachin can buy letters from the local store in order to turn his text into a pangram. However, each letter has a price and Sachin wants to minimize the cost.
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