-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit: porting over 2020,2021,2022
- Loading branch information
0 parents
commit 3426743
Showing
58 changed files
with
22,767 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: "26.0.2" | ||
gleam-version: "nightly" | ||
rebar3-version: "3" | ||
# elixir-version: "1.15.4" | ||
- run: gleam deps download | ||
- run: gleam test | ||
- run: gleam format --check src test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.beam | ||
*.ez | ||
build | ||
erl_crash.dump |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# advent_of_code | ||
|
||
A collection of Advent of Code solutions in [Gleam](http://gleam.run),built using [Gladvent](https://github.com/tanklesxl/gladvent) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name = "advent_of_code" | ||
version = "0.1.0" | ||
gleam = ">= 0.32.0" | ||
|
||
# Fill out these fields if you intend to generate HTML documentation or publish | ||
# your project to the Hex package manager. | ||
# | ||
# description = "" | ||
# licences = ["Apache-2.0"] | ||
# repository = { type = "github", user = "username", repo = "project" } | ||
# links = [{ title = "Website", href = "https://gleam.run" }] | ||
|
||
[dependencies] | ||
gleam_stdlib = "~> 0.32" | ||
|
||
[dev-dependencies] | ||
gleeunit = "~> 1.0" | ||
gladvent = "~> 0.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
1664 | ||
1909 | ||
1904 | ||
1638 | ||
1844 | ||
1836 | ||
1648 | ||
1710 | ||
1163 | ||
1684 | ||
1857 | ||
1257 | ||
1718 | ||
1969 | ||
1968 | ||
1578 | ||
1870 | ||
1765 | ||
1846 | ||
1939 | ||
1858 | ||
1589 | ||
1586 | ||
1767 | ||
1628 | ||
1595 | ||
1601 | ||
1528 | ||
1724 | ||
1656 | ||
1555 | ||
1150 | ||
1992 | ||
1380 | ||
1142 | ||
1615 | ||
1659 | ||
1835 | ||
1403 | ||
1119 | ||
1719 | ||
1773 | ||
1613 | ||
1166 | ||
1924 | ||
1879 | ||
1663 | ||
1490 | ||
1726 | ||
1900 | ||
1228 | ||
1680 | ||
509 | ||
1637 | ||
1030 | ||
1536 | ||
1960 | ||
921 | ||
1894 | ||
1890 | ||
1829 | ||
1543 | ||
1565 | ||
1341 | ||
1572 | ||
1729 | ||
2006 | ||
1877 | ||
1787 | ||
1999 | ||
1742 | ||
1400 | ||
1851 | ||
1814 | ||
1985 | ||
1934 | ||
2004 | ||
1571 | ||
1993 | ||
1428 | ||
1623 | ||
1753 | ||
488 | ||
2008 | ||
2007 | ||
1793 | ||
1762 | ||
1803 | ||
1564 | ||
17 | ||
1800 | ||
1373 | ||
1764 | ||
1573 | ||
1643 | ||
1640 | ||
1990 | ||
1098 | ||
1361 | ||
1806 | ||
1754 | ||
1699 | ||
1444 | ||
1967 | ||
1365 | ||
1761 | ||
1493 | ||
1678 | ||
1833 | ||
1603 | ||
1677 | ||
1722 | ||
268 | ||
1991 | ||
1807 | ||
1839 | ||
1231 | ||
1419 | ||
1577 | ||
1884 | ||
1668 | ||
1852 | ||
1816 | ||
1626 | ||
31 | ||
1123 | ||
1617 | ||
1614 | ||
1915 | ||
1899 | ||
1971 | ||
1954 | ||
1425 | ||
792 | ||
1634 | ||
1206 | ||
1988 | ||
1303 | ||
1946 | ||
1942 | ||
1360 | ||
1431 | ||
1979 | ||
1897 | ||
1597 | ||
1700 | ||
1335 | ||
1769 | ||
1495 | ||
1590 | ||
1801 | ||
1982 | ||
1809 | ||
1594 | ||
1338 | ||
1995 | ||
1569 | ||
1824 | ||
1445 | ||
1399 | ||
1818 | ||
1657 | ||
1683 | ||
1916 | ||
1653 | ||
1966 | ||
82 | ||
1102 | ||
1535 | ||
1748 | ||
1609 | ||
1996 | ||
722 | ||
1646 | ||
1167 | ||
1784 | ||
1616 | ||
529 | ||
1788 | ||
1691 | ||
1940 | ||
1596 | ||
1838 | ||
1811 | ||
1813 | ||
1591 | ||
1741 | ||
1606 | ||
1871 | ||
1997 | ||
1827 | ||
1492 | ||
1789 | ||
2002 | ||
1702 | ||
1876 | ||
1251 | ||
1237 | ||
1510 | ||
1093 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
76 | ||
51 | ||
117 | ||
97 | ||
7 | ||
77 | ||
63 | ||
18 | ||
137 | ||
10 | ||
23 | ||
14 | ||
130 | ||
131 | ||
8 | ||
91 | ||
17 | ||
29 | ||
2 | ||
36 | ||
110 | ||
35 | ||
113 | ||
30 | ||
112 | ||
61 | ||
83 | ||
122 | ||
28 | ||
75 | ||
124 | ||
82 | ||
101 | ||
135 | ||
42 | ||
44 | ||
128 | ||
32 | ||
55 | ||
85 | ||
119 | ||
114 | ||
72 | ||
111 | ||
107 | ||
123 | ||
54 | ||
3 | ||
98 | ||
96 | ||
11 | ||
62 | ||
22 | ||
49 | ||
37 | ||
1 | ||
104 | ||
43 | ||
24 | ||
31 | ||
129 | ||
69 | ||
4 | ||
21 | ||
48 | ||
39 | ||
9 | ||
38 | ||
58 | ||
125 | ||
81 | ||
89 | ||
65 | ||
90 | ||
118 | ||
64 | ||
25 | ||
138 | ||
16 | ||
78 | ||
92 | ||
102 | ||
88 | ||
95 | ||
132 | ||
47 | ||
50 | ||
15 | ||
68 | ||
84 | ||
136 | ||
103 |
Oops, something went wrong.