|
69b8c48ef3
|
Also remove {} from a for in d5p1.
|
2023-12-06 05:27:21 +04:00 |
|
|
c1f11c1ebc
|
Do not subtract 1 each time, just use < instead of <= in d5p1.
|
2023-12-06 05:26:19 +04:00 |
|
|
3b277352d1
|
Cleaning up through all code.
|
2023-12-06 05:18:43 +04:00 |
|
|
fbdc38a171
|
In d5p1 also replaced int64_t with uint64_t.
|
2023-12-06 04:19:03 +04:00 |
|
|
7a19ad713f
|
A cleanup for d5p1. Also removed an ABS macro since it doesn't needed.
|
2023-12-06 04:17:21 +04:00 |
|
|
f092158510
|
A little cleanup in d5p2.
|
2023-12-06 04:11:43 +04:00 |
|
|
4a80bd2b08
|
From day5p2 an unused macro ABS was removed.
|
2023-12-06 03:52:34 +04:00 |
|
|
a92ae78e91
|
Added README.md.
|
2023-12-06 03:45:54 +04:00 |
|
|
b096a62100
|
Join omp pragmas
in d5p2.
|
2023-12-06 03:45:36 +04:00 |
|
|
5afa103769
|
Day 5 part 2 complete! Heh, it takes around 91.217s +- 6s to run. :) So a test for day5 with my data is commented out. :)
|
2023-12-06 03:15:44 +04:00 |
|
|
7d0f6e6e64
|
Day 5 part 1 complete.
|
2023-12-05 18:49:47 +04:00 |
|
|
96a6593672
|
Let's introduce a special stackpointer_t type to represent a type of a stack pointer.
Also set STACK_SZ to UINT8_MAX + 1.
|
2023-12-04 18:49:03 +04:00 |
|
|
57941c07ec
|
Replace uint32_t with uint64_t to support wider numbers.
|
2023-12-04 18:44:47 +04:00 |
|
|
fcabbd7dec
|
Day 4 part 2 complete!
|
2023-12-04 18:21:52 +04:00 |
|
|
6df6e7f36d
|
Day 4 part 1 complete.
|
2023-12-04 17:12:18 +04:00 |
|
|
2d3e387f4f
|
Bring ISDIGIT macro in part 1 of the day 3 as well.
|
2023-12-03 19:01:32 +04:00 |
|
|
2c30c9e195
|
Do not compile a static executable.
|
2023-12-03 19:00:55 +04:00 |
|
|
031a7c6892
|
Remove ctype.h include.
|
2023-12-03 18:38:36 +04:00 |
|
|
c2efe3c9f0
|
Let's replace a func call with a simple macro that just checks for if a character is between 0x30 ('0') to 0x39 ('9').
|
2023-12-03 18:36:14 +04:00 |
|
|
f4735ab54f
|
Pass just a line to parse_number().
|
2023-12-03 18:31:34 +04:00 |
|
|
fabaaffe11
|
Day 3 part 2 complete!
|
2023-12-03 18:27:32 +04:00 |
|
|
61fe20524b
|
Day 3 part 1 complete.
|
2023-12-03 17:57:26 +04:00 |
|
|
7ce37165f7
|
Day 2 part 2 complete!
|
2023-12-02 19:45:58 +04:00 |
|
|
fc47930faf
|
Day 2 part 1 complete!
|
2023-12-02 19:20:52 +04:00 |
|
|
83ae802789
|
Init commit with a complete day 1.
|
2023-12-02 17:34:17 +04:00 |
|