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

65.31% Correct | 34.69% Incorrect
Last Solution submitted on Jul 02, 2020

Problem Recent Solvers32

Suggested Problems

Problem Tags