Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

啊,终于过了,多谢xiaomi的帮助,真的太感谢了。原来不具有公约数的数列的个数不是M^N-p^N啊。

Posted by zxqi_009 at 2005-08-31 19:12:25 on Problem 1091
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator