Skip to content

Commit

Permalink
fix(2019-fall-midterm): fix typo (#34)
Browse files Browse the repository at this point in the history
* fix(2019-fall-midterm): fix typo

* fix: remove unnecessary headers
  • Loading branch information
ryangchung authored Oct 28, 2024
1 parent a83bca3 commit d008ddd
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 pombinations
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 d008ddd

Please sign in to comment.