Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

GCD(x, yz)

long long g = gcd(x, y);
return g * gcd(x / g, z);
Source by codeforces.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+8 =