Average-user / adventofcode-clj-2019

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2019. Solutions in Clojure

Solutions to Adventofcode2019.

lein run a b c

Will show solutions forx days specified (a b c ...). Will run all implemented days if no argument is given.

$ lein run

  ========================================================
 | Day | Star | Solution                   | Time (msecs) |
 |========================================================|
 |  1  |  *   | 3382136                    |      1.76084 |
 |     |  **  | 5070314                    |      4.58298 |
 |  2  |  *   | 5290681                    |      1.62666 |
 |     |  **  | 5741                       |    172.15849 |
 |  3  |  *   | 2129                       |      1.55650 |
 |     |  **  | 134662                     |    977.79855 |
 |  4  |  *   | 1605                       |     13.38443 |
 |     |  **  | 1102                       |      9.99586 |
 |  5  |  *   | 12896948                   |      3.56233 |
 |     |  **  | 7704130                    |      3.95985 |
  ========================================================
"Elapsed time: 1193.223693 msecs"

If you want to try your inputs, input files are stored at resources/dayXX.txt

About

License:MIT License


Languages

Language:Clojure 100.0%