Блог пользователя Sammmmmmm

Автор Sammmmmmm, история, 5 месяцев назад, По-английски

Given R red balls, B blue balls, and G green balls. Count ways to arrange them so that there are exactly k pair RB (red ball is

in front of blue ball).

K <= min(R, B) R, B, G, K <= 1e6

Thanks!

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится