Help in a Combinatoric problem

Правка en1, от Virtual_Contestant, 2020-05-05 20:28:20

Can anyone please explain the solution for this problem? I have looked at multiple solutions and editorial but unable to understand from them. Thanks a lot. https://mirror.codeforces.com/problemset/problem/804/B

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Virtual_Contestant 2020-05-05 20:28:20 235 Initial revision (published)