求两个数最大公约数
public static int GetDivisor(int m ,int n){
// 求两数最大公约数
while (n!=0){
int r=m%n;
m=n;
n=r;
}
return m;
}
求两个数最大公约数
public static int GetDivisor(int m ,int n){
// 求两数最大公约数
while (n!=0){
int r=m%n;
m=n;
n=r;
}
return m;
}