Greatest Common Divisor: Trial Division Algorithm. Trial Division Algorithm. 「試除法」。嘗試每個數字作為最大公因數。時間複雜度O(min(a,b)) 。
確定! 回上一頁