题目地址:
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.
给出A和B。找到最小的X,X是大于1且A模X等于B模X。
Two positive integers A and B (A,B <= 10000).
两个正整数A和B。(A,B<= 10000).
One integer X.
一个整数。
17 26
3