HDU 1016 Uniform Generator GCD
Source
will download...
HDU 1016 Uniform Generator GCD