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

其实很简单的

Posted by Shinjikun at 2007-08-27 10:17:31 on Problem 2769
余数的差=差的余数 只要找一个k,使得k不能整除任何的差
把所有的差写出来,然后因式分解,从而得到所有因数,
筛去所有因数,得到最小的k
似乎是o(n^2log(n))吧

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