Algorithm Competition Template Library by Lingcha Shan Ai Fu
Mathematics: GCD (Greatest Common Divisor), Pollard-Rho Prime Factorization, Euler's Theorem, Extended GCD, Linear Inverse, Chinese Remainder Theorem, Discrete Logarithm, and Big Step Small Step (BSGS) algorithm.