Clojure Edit. ExtendedEdit. (defn xgcd "Extended Euclidean Algorithm. Returns [gcd(a,b) x y] where ax + by = gcd(a,b)." [a b] (if (= a 0) [b 0 1] (let [[g x ...
確定! 回上一頁