Skip to content

Commit 527340c

Browse files
committed
Day 4
0 parents  commit 527340c

File tree

19 files changed

+2844
-0
lines changed

19 files changed

+2844
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.bsp
2+
.idea
3+
target
4+
.env

.scalafmt.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version = 2.5.2
2+
maxColumn = 200

build.sbt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
scalaVersion := "2.13.4"
2+
name := "aoc2020"
3+
4+
libraryDependencies += "org.typelevel" %% "cats-core" % "2.1.1"
5+
libraryDependencies += "org.typelevel" %% "mouse" % "0.26"
6+
libraryDependencies += "com.lihaoyi" %% "requests" % "0.6.5"
7+
libraryDependencies += "com.lihaoyi" %% "os-lib" % "0.7.1"
8+
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.2" % Test

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=1.4.4

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.0")

src/main/resources/day01.txt

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
1889
2+
1974
3+
1983
4+
1590
5+
1530
6+
1402
7+
1731
8+
1935
9+
1404
10+
1763
11+
1733
12+
1234
13+
1706
14+
633
15+
1524
16+
880
17+
1970
18+
1815
19+
1766
20+
1587
21+
1329
22+
1386
23+
1769
24+
1709
25+
1816
26+
1672
27+
75
28+
1874
29+
1957
30+
1241
31+
1656
32+
1290
33+
1501
34+
1456
35+
1945
36+
1375
37+
1580
38+
1738
39+
1581
40+
1704
41+
1317
42+
1651
43+
1971
44+
1614
45+
1668
46+
1694
47+
1862
48+
562
49+
1497
50+
1460
51+
1768
52+
1797
53+
1828
54+
728
55+
1826
56+
1519
57+
1343
58+
1850
59+
1676
60+
1932
61+
1794
62+
1295
63+
1669
64+
1995
65+
1838
66+
1253
67+
1209
68+
1288
69+
1443
70+
1436
71+
1788
72+
1732
73+
1289
74+
74
75+
1659
76+
1264
77+
1533
78+
1938
79+
1401
80+
1748
81+
1445
82+
1941
83+
1924
84+
1807
85+
1772
86+
1761
87+
1805
88+
1658
89+
927
90+
1294
91+
1643
92+
1308
93+
1472
94+
1822
95+
1332
96+
1220
97+
1947
98+
1352
99+
1782
100+
1851
101+
1789
102+
1551
103+
1490
104+
1690
105+
1989
106+
1052
107+
1340
108+
1437
109+
1378
110+
1316
111+
1835
112+
1967
113+
1885
114+
1487
115+
1452
116+
1480
117+
1943
118+
1760
119+
1897
120+
1632
121+
1354
122+
1843
123+
1698
124+
1467
125+
1625
126+
1421
127+
1482
128+
1275
129+
1341
130+
1422
131+
1586
132+
1283
133+
1686
134+
1640
135+
1987
136+
1603
137+
1131
138+
1777
139+
1864
140+
1529
141+
1858
142+
1665
143+
1326
144+
1804
145+
1285
146+
1449
147+
1866
148+
1762
149+
1708
150+
1699
151+
1622
152+
1774
153+
1993
154+
1796
155+
1825
156+
1786
157+
1518
158+
1726
159+
1577
160+
1545
161+
1494
162+
1756
163+
1611
164+
2005
165+
1888
166+
1930
167+
1538
168+
1744
169+
894
170+
1537
171+
1513
172+
1650
173+
1898
174+
1719
175+
1615
176+
1646
177+
1758
178+
1495
179+
1717
180+
1670
181+
1759
182+
1865
183+
1793
184+
1484
185+
1702
186+
1861
187+
1330
188+
1767
189+
1549
190+
1536
191+
717
192+
2007
193+
1902
194+
1583
195+
1682
196+
1374
197+
1892
198+
1839
199+
1771
200+
1624

0 commit comments

Comments
 (0)