Group
CodeChefOpen on judge ↗
There are $N$ men and $M$ women in a theatre club. They need to select a group of exactly $K$ actors comprising at least 4 men and at least 1 woman to set a play "Hamlet". How many ways of making a choice for a group are there? *** ###Input The only line of input contains three integers $N$, $M$ and $K$. *** ###Output Print the required number of ways. *** ###Constraints - $4 \leq N \leq
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