Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这样做组合为何不对?思路: n位数,需要邻乘为k; 那么n位bit 两两分组共n-1组,这n-1组中只要有k组乘积为1既满足。 及在n-1组中取k组 示例1 5 2 为 4组中取2组, 组合数为6. 这里面有重复计数吗? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator