We define a number n is good if and only if there exists x ∈ [n2+1,n2+2n] satisfy x|n4
Give a positive number m , you need to find the smallest good number no less than m
The first line has a positive integer m
Output the smallest good number no less than m
4
6
1≤ m≤ 101000

暂无题解