Need Help in Combinatorics Problem

Revision en1, by prompt, 2020-07-10 11:36:57

This is the problem statement. Here is the editorial. I understood the editorialist solution. But I want to solve this problem using Combinatorics(using Permutations and Combinations). Any help will be highly appreciated. Thank You.

Tags #combinatorics, #maths, #topcoder

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English prompt 2020-07-10 11:36:57 388 Initial revision (published)