[UVA][建表、枚舉] 11099 - Next Same-Factored
Problem
F
Next
Same-Factored
Time Limit:
6 Seconds
Just print out the next integer number which has the same prime factors as the given
number and is less than 2,000,000.
Input
There will be several test cases (at most
100,000). Each case is ...