英语题目翻译

题目地址:

https://acs.jxnu.edu.cn/problem/NOIOPJENGLISH13

Same Remainder

同样的余数

描述:

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
上一篇:Delphi XE 10.2.3使用FastReport 6.0.7


下一篇:laravel加入验证码类几种方法 && Laravel引入第三方库的方法