Cody

Problem 43171. Basic commands - Greatest common divisor

Please write a function, which, will put as output greatest common divisor.

Example:

   A = [-5 17; 
         10 0];
    B = [-15 3; 
         100 0];
    Y = [ 5     1
         10     0];

Solution Stats

87.72% Correct | 12.28% Incorrect
Last Solution submitted on May 10, 2020

Problem Comments