Mansi and Her Student
CodeChefOpen on judge ↗
Problem Statement Chaitya goes to his new school today. His teacher Ms. Mansi gives him a homework. She gives him a string S and asks him to find out the number of strings he can make each containing P consonants and Q vowels from the given word. ( P and Q will be less than the number of consonants and the number of vowels in the given word respectively. ) Help him do his homework as he doesnt wa
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