#P1128. [HNOI2001] 求正整数
[HNOI2001] 求正整数
Description
Given a positive integer , find the smallest positive integer that has distinct divisors.
For example: when , , because has distinct positive divisors , and it is the smallest integer that has divisors.
Input Format
The input contains exactly one line with a single integer representing .
Output Format
Output a single line with one integer: the smallest positive integer that satisfies the condition.
4
6
Hint
Constraints
For of the testdata, it is guaranteed that .
Translated by ChatGPT 5
京公网安备 11011102002149号