Commit Graph

14 Commits

Author SHA1 Message Date
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