This repo contains my solutions to Advent of Code, 2022 in clojure.
Day | Star | Code | Test |
---|---|---|---|
01 - Calorie Counting | ⭐ ⭐ | 📄 | ✅ |
02 - Rock Paper Scissors | ⭐ ⭐ | 📄 | ✅ |
03 - Rucksack Reorganization | ⭐ ⭐ | 📄 | ✅ |
04 - Camp Cleanup | ⭐ ⭐ | 📄 | ✅ |
05 - Supply Stacks | ⭐ ⭐ | 📄 | ✅ |
06 - Tuning Trouble | ⭐ ⭐ | 📄 | ✅ |
07 - No Space Left On Device | ⭐ ⭐ | 📄 | ✅ |
08 - Treetop Tree House | ⭐ ⭐ | 📄 | ✅ |
09 - Rope Bridge | ⭐ | 📄 | ✅ |
10 - Cathode-Ray Tube | ⭐ ⭐ | 📄 | ✅ |
11 - Monkey in the Middle | ⭐ ⭐ | 📄 | ✅ |
12 -Hill Climbing Algorithm | 📄 | ✅ | |
13 - Distress Signal | 📄 | ✅ | |
14 - Regolith Reservoir | 📄 | ✅ | |
15 - Beacon Exclusion Zone | 📄 | ✅ | |
16 - Proboscidea Volcanium | 📄 | ✅ | |
17 - | 📄 | ✅ | |
18 - | 📄 | ✅ | |
19 - | 📄 | ✅ | |
20 - | 📄 | ✅ | |
21 - | 📄 | ✅ | |
22 - | 📄 | ✅ | |
23 - | 📄 | ✅ | |
24 - | 📄 | ✅ | |
25 - | 📄 | ✅ |
To run code
$ lein run
To run unit tests
$ lein test
lein run {n-day} ..
to run only the chosen days
$ lein run 1 2
$ ...
$ ---- day 1 ------
$ part 1: 66306
$ part 2: 195292
$ ---- day 2 ------
$ part 1: 12794
$ part 2: 14979
Copyright © 2022 FIXME
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.