Help in combinatorics

Правка en1, от peroooo, 2020-09-23 09:26:08

There are N RED balls and M BLACK balls output should be the total number to arrangements with almost K balls can be together.

ex: Input: n = 3 m = 2 k =1 Output: 1 explantion: RBRBR

input: n = 2 n = 2 k =1 output: 2 explantion: RBRB BRBR

Теги #combinatorics, #maths

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский peroooo 2020-09-23 09:26:47 2 Tiny change: 'nts with almost K bal' -> 'nts with atmost K bal'
en1 Английский peroooo 2020-09-23 09:26:08 277 Initial revision (published)