tak.clj 266 B

12345678
  1. (defn tak [x y z]
  2. (if (< y x)
  3. (tak (tak (dec x) y z) (tak (dec y) z x) (tak (dec z) x y))
  4. z))
  5. (println (tak (Integer/parseInt (first *command-line-args* )) (Integer/parseInt (second *command-line-args* )) (Integer/parseInt (last *command-line-args* ))))