Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 985 Bytes

README.org

File metadata and controls

39 lines (25 loc) · 985 Bytes

aoc14

For https://adventofcode.com/2018/day/14

Usage

To run -main function with any parameters, invoke:

clj -m aoc14.core 

License

Copyright © 2019 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

To-Do list

“next-recipes” calculate the next set of recipe values either a

single or double digit number. in: vector of single digit integers out: vector of single digit number of length +1 or +2 Justin&Aaron

“next-location” find next recipes: in: vector of ints, a two

tuple where the int values are the current location of the elves out: two tuple of the new location of the elves Ryan & Peter

“finished?”??? are we done yet fn. given an input seed and a

current state, determine if we are done yet or not if we are done, return the final 10 digits if we are not done return nil

“next-state” a function that takes current state and returns

next state