Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
其实很简单的余数的差=差的余数 只要找一个k,使得k不能整除任何的差 把所有的差写出来,然后因式分解,从而得到所有因数, 筛去所有因数,得到最小的k 似乎是o(n^2log(n))吧 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator