让两个数x,y一直保持互质的模版 Angel_Kitty 2021-05-18 119 阅读1分钟 1 int gcd(int x,int y) 2 { 3 if(y==0)return x; 4 else return gcd(y,x%y); 5 }