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.crand manually type/paste input, ending with EOF (Ctrl+D)
Repository
  adventofcode2020
Owner
  
  Statistic
  - 1
- 0
- 0
- 0
- 0
- almost 5 years ago
- November 30, 2020
License
  
Links
  
  Synced at
  Thu, 30 Oct 2025 09:56:35 GMT
Languages