摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/*扩展欧几里德求模线性方程感谢logic_space的指正*/#include#defineabs(a)((a)<0?-(a):(a))usingnamespacestd;__int64exGCD(__int64a,__int64b,__int64&x,__int64&y){if(b==0){x=1;y=0;returna;}__int64r=exGCD(b,a%b,x, 阅读全文
posted @ 2008-07-05 21:26
三鲜
阅读(2026)
评论(4)
推荐(0)
浙公网安备 33010602011771号