JAVA:实现GCD最大公约数算法
package com.thealgorithms.maths;
public class GCD {
/**
* get greatest common divisor
*
* @param num1 the first number
* @param num2 the second number
* @return gcd
*/
public static int gcd(int num1, int num2)