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:为什么要 x%=m[i]/d 这句话啊?不然会溢出,比如这个数据In Reply To:为什么要 x%=m[i]/d 这句话啊?不然会溢出,比如这个数据 Posted by:TAdashi at 2018-01-26 11:06:23 > x是exgcd求出来的那个 > d是gcd > 不要这句话,会溢出 > 比如这个数据 > 2 > 158265022 128682266 > 8440 17480 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator