README.md (2353B)
1 # Advent of Code 2023 2 3 This is my first year trying the AoC. I decided to use C because it is the 4 language I know the best and I am familiar with the standard library. 5 6 I did not write many comments, but if you are curious about my solutions 7 send me an email and I'll be happy to explain! 8 9 ## Instructions 10 11 Compile with `-std=c99`. Day 6 requires also the `-lm` option to link with the 12 math library, that is 13 14 ``` 15 $ cc -std=c99 -lm 06/6a.c 16 ``` 17 18 My solutions read from stdin, so run the e.g. with 19 20 ``` 21 $ ./a.out <in.txt 22 ``` 23 24 ## Personal times 25 26 Note: New problems come out at 6am in my time zone. At some point in 27 mid-December I started waking up early to try and solve the problem 28 before work, but I could not always do it. On the weekend of December 29 16-17 I was busy and I could not solve any problem at all. Regarding 30 day 21, I just found it very hard and could not finish it within a day. 31 32 ``` 33 --------Part 1-------- --------Part 2-------- 34 Day Time Rank Score Time Rank Score 35 25 06:11:14 4908 0 06:11:45 3911 0 36 24 03:00:50 3858 0 14:11:15 4807 0 37 23 02:02:06 3632 0 05:26:44 3292 0 38 22 00:45:32 876 0 01:02:38 853 0 39 21 00:23:53 2444 0 >24h 9076 0 40 20 01:47:17 3220 0 10:22:26 6402 0 41 19 08:16:48 13555 0 09:44:24 8192 0 42 18 14:34:39 17373 0 >24h 16383 0 43 17 >24h 17185 0 >24h 16114 0 44 16 >24h 26299 0 >24h 25438 0 45 15 00:13:49 4618 0 00:55:28 4721 0 46 14 00:16:47 2605 0 13:11:16 17486 0 47 13 01:38:27 6390 0 01:45:34 4662 0 48 12 00:45:36 3242 0 04:07:11 4066 0 49 11 01:33:57 8963 0 01:34:56 7427 0 50 10 02:58:19 9963 0 05:57:09 7684 0 51 9 02:38:53 13677 0 02:40:25 13016 0 52 8 00:27:21 7503 0 13:29:53 34979 0 53 7 01:56:33 11510 0 02:02:06 8448 0 54 6 01:53:38 16676 0 01:55:44 15724 0 55 5 03:24:25 18975 0 05:14:50 10799 0 56 4 03:04:29 26854 0 03:16:07 20315 0 57 3 03:38:55 17900 0 03:55:42 14753 0 58 2 03:44:00 24942 0 03:47:48 23122 0 59 1 03:14:59 28047 0 03:25:34 16991 0