Cody

Problem 42760. Find the gcm of n given values

Create a function that given n integer values greater than zero, finds the two numbers with the greatest common divisor and returns the gcm

Example

Input x = [1 10 13 50 26]

Output y = 13

Solution Stats

64.29% Correct | 35.71% Incorrect
Last Solution submitted on Dec 03, 2019

Problem Recent Solvers24

Suggested Problems

Problem Tags