See https://adventofcode.com/2018 for puzzle text and inputs.
Execute run.sh to run all days (needs a C compiler like gcc or Clang):
Inputs are read from a input.txt
file in the respective directory for each day's solution.
--- Day 1: Chronal Calibration ---
Part 1: 561
Part 2: 563
Time: 0.74ms
--- Day 2: Inventory Management System ---
Part 1: 7533
Part 2: wlkigsqyfecjqqmnxaktdrhbz
Time: 0.90ms
--- Day 3: No Matter How You Slice It ---
Part 1: 107663
Part 2: 1166
Time: 1.59ms
--- Day 4: Repose Record ---
Part 1: 140932
Part 2: 51232
Time: 0.60ms
--- Day 5: Alchemical Reduction ---
Part 1: 10972
Part 2: 5278
Time: 8.75ms
--- Day 6: Chronal Coordinates ---
Part 1: 3890
Part 2: 40284
Time: 28.01ms
--- Day 7: The Sum Of Its Parts ---
Part 1: GRTAHKLQVYWXMUBCZPIJFEDNSO
Part 2: 1115
Time: 0.55ms
--- Day 8: Memory Maneuver ---
Part 1: 49180
Part 2: 20611
Time: 0.23ms
--- Day 9: Marble Mania ---
Part 1: 404502
Part 2: 3243916887
Time: 60.21ms
--- Day 10: The Stars Align ---
Part 1:
##### # #### # # # # ##### ### ####
# # # # # ## # # # # # # # #
# # # # ## # # # # # # #
# # # # # # # # # # # # #
##### # # # # # ###### ##### # #
# # # # ### # # # # # # # #
# # # # # # # # # # # # #
# # # # # # ## # # # # # #
# # # # ## # ## # # # # # # #
##### ###### ### # # # # # # ### ####
Part 2: 10476
Time: 6.70ms
--- Day 11: Chronal Charge ---
Part 1: 21,72
Part 2: 242,13,9
Time: 8.13ms
--- Day 12: Subterranean Sustainability ---
Part 1: 3059
Part 2: 3650000001776
Time: 0.46ms
--- Day 13: Mine Cart Madness ---
Part 1: 118,112
Part 2: 50,21
Time: 4.14ms
--- Day 14: Chocolate Charts ---
Part 1: 1474315445
Part 2: 20278122
Time: 169.86ms
--- Day 16: Chronal Classification ---
Part 1: 596
Part 2: 554
Time: 1.08ms
--- Day 17: Reservoir Research ---
Part 1: 39649
Part 2: 28872
Time: 7.30ms
--- Day 18: Settlers of The North Pole ---
Part 1: 384416
Part 2: 195776
Time: 79.93ms
--- Day 19: Go With The Flow ---
Part 1: 1080
Part 2: 11106760
Time: 60.93ms
Total time: 440.110 ms
Solution implementations are released into the public domain under the UNLICENSE license.
Puzzle text and inputs are all the sole property of Advent of Code and may not be replicated or used by any other person or entity without express written consent of Advent of Code.