伪代码
https://blog.csdn.net/weixin_43886797/article/details/85569998
white num1
white num2
|num(1)-num (2)|=num (3)
until |num (n-1)-num(n)|=|num(n)-num(n+1)|=constant
white the answer is the constant
e.g132,12
132-12=120
120-12=118
118-12=106
12-12=0
12-0=12
12-0=12
the answer is 12