-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAoc2020e.roc
40 lines (36 loc) · 1.9 KB
/
Aoc2020e.roc
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
app "aoc2020e"
packages { base: "effect-platform" }
imports [ Day25, base.Task ]
provides [ aocMain ] to base
aocMain : Task.Task {}
aocMain =
Task.readFile "Day25.txt"
|> Task.after (\input -> Day25.output input
|> Task.writeData)
# Day Answers Run Topic
# --- ------------------------------ --- -----------------------------------
# 01 1007331, 48914340 ero pairs and triples
# 02 655, 673 ero valid passwords
# 03 159, 6419669520 er- trees on path in a map
# 04 230, 156 nro valid passports
# 05 963, 592 ero seats in airplane
# 06 6387, 3039 ero questionnaire answers
# 07 316, 11310 ero nested bags
# 08 1475, 1270 ero game console code
# 09 144381670, 20532569 ero xmas encryption
# 10 2738, 74049191673856 ero jolt adapter sequences
# 11 2359, 2131 er- seats after airplane boarding
# 12 923, 24769 ero ferry movement
# 13 2947, 526090562196173 ero buses modulo arithmetic
# 14 9628746976360, 4574598714592 ero memory addresses
# 15 1522, 18234 ero saying numbers
# 16 21081, 314360510573 ero ticket fields
# 17 384, 2012 ero 3d and 4d cubes
# 18 9535936849815, 472171581333710 ero expressions
# 19 107, 321 ero messages
# 20 16937516456219, 1858 ero sea map tiles
# 21 2569, list see code ero food allergenes
# 22 32083, 35495 ero space cards
# 23 25398647, 363807398885 ero crab cups
# 24 512, 4120 ero lobby tiles
# 25 8740494 ero card door handshake