Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

gcd multi num

int result = a[0];

for (int i = 1; i < a.Length; ++i)
    result = gcd(result, a[i]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gcd #multi #num
ADD COMMENT
Topic
Name
9+6 =