Problem B. abs
时间限制 2 ms
内存限制 128 MB
Given a number x, ask positive integer $y\geq 2$, that satisfy the following conditions:
1. The absolute value of y - x is minimal
2. To prime factors decomposition of Y, every element factor appears two times exactly.
输入数据
输出数据
For each testcase print the absolute value of y - x
样例输入
复制
5
1112
4290
8716
9957
9095
样例输出
$ Mathjax font initiator $