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

100题留念~~~

Posted by AbandonZHANG at 2013-01-20 15:11:44 on Problem 2429
RT~用pollard-rho分解n=lcm/gcd即可,a,b某个数在拿n的因子时必须把所有的某个因子全拿上,不然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