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:O(1)算法(中国剩余定理)In Reply To:Re:O(1)算法(中国剩余定理) Posted by:whut002 at 2008-01-17 19:32:45 > > a=(5544*p+14421*e+1288*i-d+21252)%21252; > if(!a) > a=21252; > > 改成a=(5544*p+14421*e+1288*i-d+21251)%21252+1;呵呵 不用改,拜托 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator