Trait WithGcd
rdcl_aoc_helpers::math::with_gcd
pub trait WithGcd<T> { pub fn gcd(&self) -> T; }
pub fn gcd(&self) -> T
impl WithGcd<u64> for Vec<u64>
pub fn gcd(&self) -> u64
impl WithGcd<i64> for Vec<i64>
pub fn gcd(&self) -> i64