组合数问题hdu5894

http://acm.hdu.edu.cn/showproblem.php?pid=5894

题意如上

原文地址:https://www.cnblogs.com/linkzijun/p/6201251.html