Skip to content

Commit

Permalink
fix: remove unnecessary headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangchung authored Oct 25, 2024
1 parent 108b764 commit 0766ea0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/content/questions/comp2804/2019-fall-midterm/1/solution.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
1. Determine combinations
We choose 1 of the $f$ girls to be the president: $\binom{f}{1}=f$

We choose 1 of the $f$ girls to be the president: $\binom{f}{1}=f$
We choose 3 of the remaining $f-1$ girls and m guys to be vice presidents: $\binom{f-1+m}{3}$

We choose 3 of the remaining $f-1$ girls and m guys to be vice presidents: $\binom{f-1+m}{3}$

2. Profit

Thus, the total number of ways to choose the president and vice presidents is $f \cdot \binom{f-1+m}{3}$
Thus, the total number of ways to choose the president and vice presidents is $f \cdot \binom{f-1+m}{3}$

0 comments on commit 0766ea0

Please sign in to comment.