-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.clj
60 lines (50 loc) · 1.41 KB
/
index.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
^{:nextjournal.clerk/visibility {:code :hide :result :hide}}
(ns index
(:require [nextjournal.clerk :as clerk]))
^{:nextjournal.clerk/visibility {:code :hide :result :hide}}
(comment
(clerk/serve! {:paths [".", "01", "02", "03", "04", "05", "06"] :watch-paths ["."] :host "0.0.0.0" :port 7778}))
;; # 🎄 Advent of Code 2023 in Clojure
;;
;;
^{:nextjournal.clerk/visibility {:code :hide :result :show}}
(clerk/html "<img src='https://raw.githubusercontent.com/DrearyLisper/aoc-2023/master/images/logo.png' alt='logo' style='width: 100%; text-align: center;'/>")
;; Solutions are authored by [@DrearyLisper](https://x.com/drearylisper)
;;
;; Don't forget to star my [Project on GitHub](https://github.com/DrearyLisper/aoc-2023)!
;; ## [Day 01: Trebuchet?!](01/day01)
;; ``` clojure
;; aoc-2023$ clj -X day01/run
;; 55017
;; 53539
;; ```
;; ## [Day 02: Cube Conundrum](02/day02)
;; ``` clojure
;; aoc-2023$ clj -X day02/run
;; 2617
;; 59795
;; ```
;; ## [Day 03: Gear Ratios](03/day03)
;; ``` clojure
;; aoc-2023$ clj -X day02/run
;; 539713
;; 84159075
;; ```
;; ## [Day 04: Scratchcards](04/day04)
;; ``` clojure
;; aoc-2023$ clj -X day04/run
;; 22674
;; 5747443
;; ```
;; ## [Day 05: If You Give A Seed A Fertilizer](05/day05)
;; ``` clojure
;; aoc-2023$ clojure -X day05/run
;; 88151870N
;; 2008785N
;; ```
;; ## [Day 06: Wait For It](06/day06)
;; ``` clojure
;; aoc-2023$ clojure -X day06/run
;; 4403592
;; 38017587
;; ```