| ||||||||||
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 |
Re:表示有一步好难理解啊In Reply To:Re:表示有一步好难理解啊 Posted by:DE_SEAN at 2011-03-31 09:54:02 > 我们要找的是最小的正数解 > x0=x*(b/d)%n+n; 这一步保证了xo为正数 > 又所有的解相差 n/d ,所以x0/(n/d)即为最小正数解 > > > > > Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator