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 |
关于本题的两点疑问? 跪求大牛解释....为什么extend_euclid(a, b, x, y), 当a, b 存在负数的情况也可以正确得出结果? 为什么这一题算出x后,还有mod b ? (是否与a, b的正负有关? 当a, b 都为正的时候, 就不用mod b, 为负的时候,需要mod b) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator