Solutions to Advent of Code 2017 written in Crystal.
Find a file
2017-12-20 17:37:49 -08:00
day1_1.cr Write the first day solution. 2017-12-15 22:54:49 -08:00
day1_2.cr Write the second part of the first day solution. 2017-12-15 22:55:53 -08:00
day2_1.cr Write the solution to the second day. 2017-12-15 23:05:48 -08:00
day2_2.cr Write the solution to the second part of the second day. 2017-12-15 23:06:00 -08:00
day3_1.cr Write the solution for the third puzzle. 2017-12-15 23:21:05 -08:00
day3_2.cr Write the solution to the second part of day 3. 2017-12-15 23:31:30 -08:00
day4_1.cr Write a solution for day 4 part 1. 2017-12-16 00:01:59 -08:00
day4_2.cr Write a solution for day 4 part 2. 2017-12-16 00:02:07 -08:00
day5_1.cr Write the solutions to part 1 and 2 of day 5. 2017-12-16 00:10:25 -08:00
day5_2.cr Write the solutions to part 1 and 2 of day 5. 2017-12-16 00:10:25 -08:00
day6_1.cr Implement the solutions to day 6. 2017-12-18 15:29:51 -08:00
day6_2.cr Implement the solutions to day 6. 2017-12-18 15:29:51 -08:00
day7_1.cr Implement the solutions to day 7. 2017-12-18 15:39:32 -08:00
day7_2.cr Implement the solutions to day 7. 2017-12-18 15:39:32 -08:00
day8_1.cr Implement solutions for day 8. 2017-12-18 16:00:06 -08:00
day8_2.cr Implement solutions for day 8. 2017-12-18 16:00:06 -08:00
day9_1.cr Add solutions for day 9. 2017-12-20 13:35:04 -08:00
day9_2.cr Add solutions for day 9. 2017-12-20 13:35:04 -08:00
day10_1.cr Implement the solutions to day 10. 2017-12-20 14:10:35 -08:00
day10_2.cr Implement the solutions to day 10. 2017-12-20 14:10:35 -08:00
day11_1.cr Implement solutions to day 11. 2017-12-20 14:20:29 -08:00
day11_2.cr Implement solutions to day 11. 2017-12-20 14:20:29 -08:00
day12_1.cr Add solutions to day 12. 2017-12-20 15:12:36 -08:00
day12_2.cr Add solutions to day 12. 2017-12-20 15:12:36 -08:00
day13_1.cr Write solutions for day 13 2017-12-20 17:11:40 -08:00
day13_2.cr Write solutions for day 13 2017-12-20 17:11:40 -08:00
day14_1.cr Write solutions for day 14. 2017-12-20 17:11:51 -08:00
day14_2.cr Write solutions for day 14. 2017-12-20 17:11:51 -08:00
day15_1.cr Write solutions to day 15. 2017-12-20 17:37:49 -08:00
day15_2.cr Write solutions to day 15. 2017-12-20 17:37:49 -08:00
knot_hash.cr Implement the solutions to day 10. 2017-12-20 14:10:35 -08:00
README.md Create README.md 2017-12-16 00:15:01 -08:00

Crystal Advent Of Code-2017

Solutions to Advent of Code 2017 written in Crystal. These should be pretty self-contained. Solutions that require big inputs look for the file named day[num].txt, which should contain your puzzle input. To run, say, the solution to day 1, use the command

crystal day1_1.cr

If you wish to time the solution, use

crystal build --release day1_1.cr
time ./day1_1