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 |
啊,终于过了,多谢xiaomi的帮助,真的太感谢了。原来不具有公约数的数列的个数不是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