Advent Of Code 2023 done in C.
Go to file
Alexander Andreev 3fad087730
Well... forgot to change a type of a returning num variable in day 5 and 6. xD
2023-12-07 01:05:18 +04:00
day1 Cleaning up through all code. 2023-12-06 05:18:43 +04:00
day2 Made parse_number inlined and made an arg const char *. Not sure if inlining will work, but I'm lazy to check. :P 2023-12-07 00:44:19 +04:00
day3 Made parse_number inlined and made an arg const char *. Not sure if inlining will work, but I'm lazy to check. :P 2023-12-07 00:44:19 +04:00
day4 Made parse_number inlined and made an arg const char *. Not sure if inlining will work, but I'm lazy to check. :P 2023-12-07 00:44:19 +04:00
day5 Well... forgot to change a type of a returning num variable in day 5 and 6. xD 2023-12-07 01:05:18 +04:00
day6 Well... forgot to change a type of a returning num variable in day 5 and 6. xD 2023-12-07 01:05:18 +04:00
.gitignore Init commit with a complete day 1. 2023-12-02 17:34:17 +04:00
Makefile Day 6 part 2 complete! Plus a little cleanup in part 1. :) 2023-12-06 19:26:59 +04:00
README.md Added README.md. 2023-12-06 03:45:54 +04:00
run Init commit with a complete day 1. 2023-12-02 17:34:17 +04:00
test Added a test for day 6. 2023-12-07 00:44:40 +04:00

README.md

Advent Of Code 2023 done in C

My machine has 8GiB of RAM and a 4-core Intel i5 4690 processor.

Day 5 part 2 takes 1m20s at average to complete with openmp, and 3m39.8s (single measure) without it.