adventofcode2020

My solutions to Advent of Code 2020 (Crystal)

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
  • over 3 years ago
  • November 30, 2020
License

Links
Synced at

Sat, 11 May 2024 02:05:25 GMT

Languages