adventofcode2020
Advent of Code 2020
Apparently I'm doing this in Crystal this year.
Some days may include additional implementations in other languages or other extra stuff such as benchmarks.
The main solution will always be in a file called solution.cr and that will read the input from stdin. To compile & run the solutions (assuming crystal is installed), any of these commands seem to do the trick:
-
$ crystal run solution.cr -- input.txt
-
$ cat input.txt | crystal run solution.cr
-
$ crystal solution.cr input.txt
-
$ crystal solution.cr
and manually type/paste input, ending with EOF (Ctrl+D)
Repository
adventofcode2020
Owner
Statistic
- 1
- 0
- 0
- 0
- 0
- almost 4 years ago
- November 30, 2020
License
Links
Synced at
Fri, 22 Nov 2024 06:50:17 GMT
Languages