Languages 101
CodeChefOpen on judge ↗
Problem Description The English language has 26 alphabets. The Malayalam language has 56 letters. The students of MACE has created a machine that can create a new language i.e output upto 10,000 unique alphabets. Your task is to compute the maximum number of words that can be generated by a language. The words must follow the condition that All letters of the language must be used exactly once.
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