[][src]Function competitive_hpp::prelude::integer::gcd_lcm

pub fn gcd_lcm<T>(x: T, y: T) -> (T, T) where
    T: Integer

Calculates the Greatest Common Divisor (GCD) and Lowest Common Multiple (LCM) of the number and other.