Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

chai_peelo's blog

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

»
8 years ago, hide # |
 
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.me/blog/entry/17612?#comment-224896