https://acs.jxnu.edu.cn/problem/NOIOPJENGLISH13
描述:
Given A and B. Find the smallest X that X is greater than 1 and A modulo X equals to B modulo X.
输入:
Two positive integers A and B (A,B <= 10000).
输出:
One integer X.
样例输入:
17 26
样例输出:
3
翻译:
描述:
给数字A和B,发现一个最小值X,X是大于1,且A%X等于B%X;
输入:
两个正整数A和B。(A,B <= 10000)
输出:
一个整数X。
样例输入:
17 26
样例输出:
3