discrete logarithm problem

HDU - 6632