三木运算符求最大公约数:
int gcd(int a , int b){ return b ? gcd(b , a % b) : a; }
最小公倍数为:(a*b)/ gcd(a,b)
(a*b)/ gcd(a,b)