Given digit count a and multiplier b, find the smallest a-digit number whose last digit moved to the front equals b times the number, or report Impossible.
Medium6MathNumber theoryImplementationBrute forceNo attempts yetTime limit2sMemory limit512 MB