mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 07:23:18 -09:00
golf
This commit is contained in:
parent
46e48b5f4b
commit
dd3943eddd
@ -1,9 +1,8 @@
|
||||
(ns day09 (:require [core :refer [get-puzzle-input]]
|
||||
[clojure.string :as str]))
|
||||
|
||||
(defn parse-line [line]
|
||||
(->> (str/split line #" ")
|
||||
(mapv #(Long/parseLong %))))
|
||||
(defn parse-line [line] (->> (str/split line #" ")
|
||||
(mapv #(Long/parseLong %))))
|
||||
|
||||
(defn generate-pyramid [nums]
|
||||
(loop [pyramid [nums]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user