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:Yes. corrected Posted by:ccut_acm01 at 2008-12-28 12:23:24 1,m和k的d进制长度不一样 2,不存在周期性,即从m[i](m的d进制形式)出发,不能经过一定次数回到m[i] 特殊情况下m,k的d进制形式一样,直接输出0。或者这几个余数的一样的,直接输出余数的大小 这里余数与周期数都是=<d的 3,扩展欧几里得的无解情况 不知道分析的对不对,请大牛指出~或者给几组测试数据 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator