随笔分类 -  exgcd

摘要:题目链接 exgcd 已知a,b求一组正整数解x,y使得ax+by=gcd(a,b); 我为什要做这样的水题?因为我很弱 1 #include<iostream> 2 #include<cstdio> 3 #include<cstdlib> 4 #include<string> 5 #include 阅读全文
posted @ 2016-03-06 21:01 HugeGun 阅读(143) 评论(0) 推荐(0)