您的psuedo代码可以非常直接地用clojure表示: (defn find-binary [decimal] (if (= decimal 0) 0 (+ (mod decimal 2) (* 10 (find-binary (quot decimal 2)))))).
確定! 回上一頁