# Advent of Code 2023 This is my first year trying the AoC. I decided to use C because it is the language I know the best and I am familiar with the standard library. I did not write many comments, but if you are curious about my solutions send me an email and I'll be happy to explain! ## Instructions Compile with `-std=c99`. Day 6 requires also the `-lm` option to link with the math library, that is ``` $ cc -std=c99 -lm 06/6a.c ``` My solutions read from stdin, so run the e.g. with ``` $ ./a.out 24h 9076 0 20 01:47:17 3220 0 10:22:26 6402 0 19 08:16:48 13555 0 09:44:24 8192 0 18 14:34:39 17373 0 >24h 16383 0 17 >24h 17185 0 >24h 16114 0 16 >24h 26299 0 >24h 25438 0 15 00:13:49 4618 0 00:55:28 4721 0 14 00:16:47 2605 0 13:11:16 17486 0 13 01:38:27 6390 0 01:45:34 4662 0 12 00:45:36 3242 0 04:07:11 4066 0 11 01:33:57 8963 0 01:34:56 7427 0 10 02:58:19 9963 0 05:57:09 7684 0 9 02:38:53 13677 0 02:40:25 13016 0 8 00:27:21 7503 0 13:29:53 34979 0 7 01:56:33 11510 0 02:02:06 8448 0 6 01:53:38 16676 0 01:55:44 15724 0 5 03:24:25 18975 0 05:14:50 10799 0 4 03:04:29 26854 0 03:16:07 20315 0 3 03:38:55 17900 0 03:55:42 14753 0 2 03:44:00 24942 0 03:47:48 23122 0 1 03:14:59 28047 0 03:25:34 16991 0