Answers for "is there any built in function for lcm in c++"

C++
0

lcm function c++

ll lcm(ll a,ll b)
{
    return (a*b)/gcd(a,b);
}
Posted by: Guest on September-19-2021

Code answers related to "is there any built in function for lcm in c++"

Browse Popular Code Answers by Language