Cody

Problem 42760. Find the gcm of n given values

Created by Roberto in Community

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.85% Correct | 34.15% Incorrect
Last solution submitted on Aug 04, 2018

Recent Solvers24

Suggested Problems

Tags