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

求1091跳蚤的解题思路。

Posted by perturbation at 2005-07-09 14:50:41
我的想法是求出M的质因数ki,然后用pow(M,n)-Sum(pow(M/ki,n))。如果这种想法是对的,那么如何解决tle的问题。如果想法是错误的,该采用什么方法?谢谢。

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