adventofcode2015

Solutions to http://adventofcode.com/ in Crystal

adventofcode

Solutions to http://adventofcode.com/ in Crystal

The way code is written

Code is written with readability in mind, not maximum efficiency. However, it can be made more efficient, either in terms of memory or running time.

For example, instead of doing File.read(...) one can open the file and read line by line, even using an iterator in some cases: File.open(...).each_line.count { ... }.

Running

Simply do, for example, crystal 1/1.1.cr, crystal 2/2.1.cr, etc.

Repository

adventofcode2015

Owner
Statistic
  • 5
  • 0
  • 0
  • 0
  • 0
  • over 8 years ago
  • December 2, 2015
License

Links
Synced at

Wed, 06 Nov 2024 22:16:12 GMT

Languages