Jan 28, 2026 Round 1 · morning

Problem 7 · Five women and four men in a row

The alternation is forced: $5! \cdot 4!$.

Integer answer, at most 4 digits

Five women ($A$, $B$, $C$, $D$, $E$) and four men ($R$, $S$, $T$, $U$) must occupy nine seats in a row so that no woman sits next to another woman and no man sits next to another man. In how many ways can the seats be occupied? (Two ways are different if some seats are occupied by different people.)

Copa Cangur · SCM Medium Closed answer