SHARE
TWEET

Untitled

a guest Dec 1st, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn calculate-total-fuel
  2.   [input]
  3.   (reduce
  4.     +
  5.     (map
  6.       (fn [x] (- (quot x 3) 2))
  7.       input)))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top