-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadvent_of_code.gleam
More file actions
38 lines (37 loc) · 1018 Bytes
/
advent_of_code.gleam
File metadata and controls
38 lines (37 loc) · 1018 Bytes
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
import day1/historian_hysteria
import day2/red_nosed_reports
import day3/mull_it_over
import day4/ceres_search
import gleam/int
import gleam/io
pub fn main() {
io.println("Hello from advent_of_code!")
io.println(
"Day 1 - Historian Hysteria Part 1: "
<> int.to_string(historian_hysteria.part1()),
)
io.println(
"Day 1 - Historian Hysteria Part 2: "
<> int.to_string(historian_hysteria.part2()),
)
io.println(
"Day 2 - Red-Nosed Reports Part 1: "
<> int.to_string(red_nosed_reports.part1()),
)
io.println(
"Day 2 - Red-Nosed Reports Part 2: "
<> int.to_string(red_nosed_reports.part2()),
)
io.println(
"Day 3 - Mull It Over Part 1: " <> int.to_string(mull_it_over.part1()),
)
io.println(
"Day 3 - Mull It Over Part 2: " <> int.to_string(mull_it_over.part2()),
)
io.println(
"Day 4 - Ceres Search Part 1: " <> int.to_string(ceres_search.part1()),
)
io.println(
"Day 4 - Ceres Search Part 2: " <> int.to_string(ceres_search.part2()),
)
}