chai_peelo's blog

By chai_peelo, history, 6 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

»
6 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.net/blog/entry/17612?#comment-224896