Hi!! I am facing problem on solving the following problem: http://codeforces.me/contest/128/problem/C
Actually I've tried many times but I couldn't manage to code it by myself. Then I've seen others code which is done only by finding nCr, calculating combination.
Can anyone help me on this?
Thanks in advance.