Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

lcm function c++

ll lcm(ll a,ll b)
{
    return (a*b)/gcd(a,b);
}
 
PREVIOUS NEXT
Tagged: #lcm #function
ADD COMMENT
Topic
Name
3+4 =