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

Re:我发现pollard在分解含有4因子的数的时候会无限循环,有人知道为什么嘛,说下噻。

Posted by tyf19938 at 2014-04-24 21:30:40 on Problem 2429
In Reply To:我发现pollard在分解含有4因子的数的时候会无限循环,有人知道为什么嘛,说下噻。 Posted by:DarkArmed at 2009-07-25 22:06:03
你用到gcd(a,b)了么? 可能有变量a或b,是负数,就会导致 gcd求出的是错的,从而导致错误。

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