chai_peelo's blog

By chai_peelo, history, 5 years ago, In English

How to solve the following problem using combinatorics

https://www.codechef.com/ICL2019/problems/ICL1904/

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I haven't solved the problem myself, but I think this can help you: https://codeforces.com/blog/entry/17612?#comment-224896