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 |
Re:请问hawk,这道题的算法是不是这样的:找出M的除掉1的因子的个数p,然后用M^N减去p^N得到结果?In Reply To:请问hawk,这道题的算法是不是这样的:找出M的除掉1的因子的个数p,然后用M^N减去p^N得到结果? Posted by:zxqi_009 at 2005-08-25 10:00:50 还要用到容斥原理 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator