warrence
|
a034fbaedc
|
Added integer factorization and enumeration of dividers
|
2024-01-31 18:58:49 +01:00 |
|
warrence
|
cccf5693f7
|
Fixed negative GCD and allow Int64 for GCD and LCM
|
2024-01-23 12:21:43 +01:00 |
|
warrence
|
571019d604
|
Removed fgl references
|
2023-12-30 23:20:52 +01:00 |
|
warrence
|
fb3f41a6af
|
Added solution for "Day 24: Never Tell Me The Odds", part 1
|
2023-12-26 19:46:35 +01:00 |
|
warrence
|
5495b32692
|
Added solution for "Day 23: A Long Walk", part 1
|
2023-12-25 00:44:13 +01:00 |
|
warrence
|
c3ecaf59fa
|
Added custom constructors for TCosmicExpansion and TStepCounter to simplify test case setup
|
2023-12-23 20:16:18 +01:00 |
|
warrence
|
2bb89c952b
|
Added solution for "Day 22: Sand Slabs", part 2
|
2023-12-23 20:08:10 +01:00 |
|
warrence
|
7b77846abc
|
Added solution for "Day 22: Sand Slabs", part 1
|
2023-12-23 01:30:41 +01:00 |
|
warrence
|
197e5f81b9
|
Removed left-over comments from TStepCounter
|
2023-12-22 15:15:56 +01:00 |
|
warrence
|
4e28a7a4c2
|
Removed or unregistered tests for incomplete solutions
|
2023-12-21 21:14:50 +01:00 |
|
warrence
|
9855a38e50
|
Fixed missing visibility modifier on TFactor10CosmicExpansion test class
|
2023-12-21 21:12:18 +01:00 |
|
warrence
|
bc2568756b
|
Added solution for "Day 21: Step Counter", part 1
|
2023-12-21 21:11:31 +01:00 |
|
warrence
|
8d5757fae0
|
Added p/puzzle command line option to run only specific puzzles, and updated the application help text
|
2023-12-21 18:32:40 +01:00 |
|
warrence
|
55f8f3d674
|
Added solution for "Day 20: Pulse Propagation", part 1
|
2023-12-21 16:14:00 +01:00 |
|
warrence
|
b2bfbf1993
|
Added solution for "Day 19: Aplenty", part 2
|
2023-12-20 19:25:21 +01:00 |
|
warrence
|
c3019613bd
|
Added solution for "Day 19: Aplenty", part 1
|
2023-12-20 11:41:17 +01:00 |
|
warrence
|
b32a7345cb
|
Updated puzzle commentary for days 13, 14, 15, and 16
|
2023-12-19 19:03:46 +01:00 |
|
warrence
|
58da932860
|
Added empty skeleton implementations and tests for days 17, 18, and 19
|
2023-12-19 17:57:58 +01:00 |
|
warrence
|
01ec0be32c
|
Added solution for "Day 16: The Floor Will Be Lava", part 2
|
2023-12-19 17:26:18 +01:00 |
|
warrence
|
e9737f0265
|
Moved the constants in UFloorWillBeLava below the types so that they can be together in a single const block
|
2023-12-19 13:15:46 +01:00 |
|
warrence
|
58c677f409
|
Added solution for "Day 16: The Floor Will Be Lava", part 1
|
2023-12-19 13:11:39 +01:00 |
|
warrence
|
2902689d07
|
Removed day 14 debugging code
|
2023-12-18 21:14:35 +01:00 |
|
warrence
|
95de6f1f7b
|
Added another small performance improvement for day 14
|
2023-12-18 21:13:50 +01:00 |
|
warrence
|
29663ad82e
|
Merge branch 'day14-test'
|
2023-12-18 20:33:47 +01:00 |
|
warrence
|
515d39da40
|
Updated day 14 algorithm to not operate directly on the strings
|
2023-12-18 20:30:24 +01:00 |
|
warrence
|
d582eb4d52
|
Added solution for "Day 15: Lens Library", part 2
|
2023-12-17 23:11:44 +01:00 |
|
warrence
|
3501f6f574
|
Added solution for "Day 15: Lens Library", part 1
|
2023-12-15 18:21:37 +01:00 |
|
warrence
|
d8b298dad8
|
Updated day 14 solution with some small code improvements
|
2023-12-15 00:46:21 +01:00 |
|
warrence
|
22b9a24893
|
Added solution for "Day 14: Parabolic Reflector Dish", part 2
|
2023-12-14 21:23:07 +01:00 |
|
warrence
|
637e7aedad
|
Added missing test value for day 14, part 1
|
2023-12-14 20:47:46 +01:00 |
|
warrence
|
f9583e684d
|
Added solution for "Day 14: Parabolic Reflector Dish", part 1
|
2023-12-14 17:51:45 +01:00 |
|
warrence
|
01267c8f79
|
Refactored TPointOfIncidence to better unify the algorithm for both parts
|
2023-12-14 00:52:28 +01:00 |
|
warrence
|
307eb14b55
|
Added solution for "Day 13: Point of Incidence", part 2
|
2023-12-14 00:32:27 +01:00 |
|
warrence
|
6b888a3f68
|
Added solution for "Day 13: Point of Incidence", part 1
|
2023-12-13 18:46:38 +01:00 |
|
warrence
|
d32297782c
|
Fixed unused variables in THotSprings
|
2023-12-13 18:37:56 +01:00 |
|
warrence
|
64eeb98e85
|
Added solution for "Day 12: Hot Springs", part 1
|
2023-12-12 15:47:58 +01:00 |
|
warrence
|
8b13ad992b
|
Added solution for "Day 11: Cosmic Expansion", part 2
|
2023-12-11 16:45:56 +01:00 |
|
warrence
|
5bd814a381
|
Added solution for "Day 11: Cosmic Expansion", part 1
|
2023-12-11 16:21:26 +01:00 |
|
warrence
|
cbce1ce794
|
Added more char constants for TPipeMaze
|
2023-12-11 15:22:54 +01:00 |
|
warrence
|
d1ae6d0404
|
Updated readme with FPC/Lazarus version details and more commentary
|
2023-12-11 15:13:47 +01:00 |
|
warrence
|
344be871db
|
Added solution for "Day 10: Pipe Maze", part 2
|
2023-12-11 15:03:01 +01:00 |
|
warrence
|
ac81b20db5
|
Added solution for "Day 10: Pipe Maze", part 1
|
2023-12-10 12:23:20 +01:00 |
|
warrence
|
d10ad23a4b
|
Fixed formatting
|
2023-12-10 10:48:49 +01:00 |
|
warrence
|
1d58d947ef
|
Updated puzzle commentary
|
2023-12-10 10:33:31 +01:00 |
|
warrence
|
7461ab7536
|
Added commentary for a some of the solved puzzles
|
2023-12-09 23:53:06 +01:00 |
|
warrence
|
09baefc881
|
Added solution for "Day 9: Mirage Maintenance", part 2
|
2023-12-09 23:11:37 +01:00 |
|
warrence
|
f69d60e5db
|
Added solution for "Day 9: Mirage Maintenance", part 1
|
2023-12-09 23:10:27 +01:00 |
|
warrence
|
f1b1439524
|
Added solution for "Day 8: Haunted Wasteland", part 2
|
2023-12-09 14:46:35 +01:00 |
|
warrence
|
edf9cf3d72
|
Added new unit with calculations of GCD and LCM
|
2023-12-09 14:46:06 +01:00 |
|
warrence
|
7baf255fda
|
Changed result type in ISolver from Cardinal to Int64 for Day 8, part 2
|
2023-12-09 14:44:47 +01:00 |
|
warrence
|
269643ad2a
|
Refactored the Trebuchet test cases
|
2023-12-09 01:00:36 +01:00 |
|
warrence
|
95e06e2b10
|
Added solution for "Day 8: Haunted Wasteland", part 1
|
2023-12-09 00:59:18 +01:00 |
|
warrence
|
6b5048b7ef
|
Added solution for "Day 7: Camel Cards", part 2
|
2023-12-07 17:58:54 +01:00 |
|
warrence
|
3f74b7c664
|
Added solution for "Day 7: Camel Cards", part 1
|
2023-12-07 17:08:15 +01:00 |
|
warrence
|
17a34bbdc6
|
Fixed explicit member scope in TWaitForIt
|
2023-12-07 17:07:39 +01:00 |
|
warrence
|
2af4cf78b5
|
Added solution for "Day 6: Wait For It", part 2
|
2023-12-06 12:45:23 +01:00 |
|
warrence
|
93f6ceb1db
|
Added solution for "Day 6: Wait For It", part 1
|
2023-12-06 12:26:19 +01:00 |
|
warrence
|
94bc00ab1c
|
Fixed file location of UGiveSeedFertilizer.pas
|
2023-12-06 01:15:44 +01:00 |
|
warrence
|
26561ba421
|
Added solution for "Day 5: If You Give A Seed A Fertilizer", part 2
|
2023-12-06 01:12:26 +01:00 |
|
warrence
|
474cfa6cc3
|
Updated solution for "Day 5: If You Give A Seed A Fertilizer", part 1, to process the data just in time instead of preloading all of it
|
2023-12-05 18:14:14 +01:00 |
|
warrence
|
e68701333b
|
Added test cases for "Trebuchet" and "Cube Conundrum"
|
2023-12-05 17:21:21 +01:00 |
|
warrence
|
9ab9dcfb51
|
Updated "Trebuchet?!" to use the solver-engine framework
|
2023-12-05 16:58:44 +01:00 |
|
warrence
|
2e13199796
|
Updated "Cube Conundrum" to use the solver-engine framework
|
2023-12-05 15:45:57 +01:00 |
|
warrence
|
c9e9eca35a
|
Added solution for "Day 5: If You Give A Seed A Fertilizer", part 1
|
2023-12-05 14:44:32 +01:00 |
|
warrence
|
931b4b60f9
|
Changed result fields to be Cardinal instead of Integer
|
2023-12-05 14:41:14 +01:00 |
|
warrence
|
e04577725b
|
Refactored tests in to facilitate loading example data from file
|
2023-12-05 12:19:41 +01:00 |
|
warrence
|
5c0aa1e584
|
Removed FPCUnit ini settings file
|
2023-12-04 22:00:30 +01:00 |
|
warrence
|
cc868a6c0a
|
Added solution for "Day 4: Scratchcards", part 2
|
2023-12-04 21:59:39 +01:00 |
|
warrence
|
85d8cafedd
|
Added heap trace back in
|
2023-12-04 17:47:58 +01:00 |
|
warrence
|
4d81ae40d5
|
Added solution for "Day 4: Scratchcards", part 1
|
2023-12-04 17:47:19 +01:00 |
|
warrence
|
5bfbc83b13
|
Refactored test cases
|
2023-12-04 17:02:33 +01:00 |
|
warrence
|
9c4fb8b63a
|
Added solution for "Day 3: Gear Ratios", part 2
|
2023-12-04 16:34:26 +01:00 |
|
warrence
|
015b823376
|
Updated test cases for "Day 3: Gear Ratios"
|
2023-12-04 16:32:48 +01:00 |
|
warrence
|
05e4944521
|
Added relative data path to TSolverEngine for testing
|
2023-12-04 16:29:32 +01:00 |
|
warrence
|
afa393a168
|
Changed TSolverEngine method arguments from constref to const
|
2023-12-04 16:28:06 +01:00 |
|
warrence
|
ca294c03f9
|
Changed visibility of TSolverEngine.ProcessData for testing
|
2023-12-04 16:26:45 +01:00 |
|
warrence
|
132c19d018
|
Updated test project settings
|
2023-12-04 16:22:00 +01:00 |
|
warrence
|
4027c3a712
|
Added solution for "Day 3: Gear Ratios", part 1, and added test project
|
2023-12-03 23:52:54 +01:00 |
|
warrence
|
83f6cdd3ad
|
Added ISolver, TSolver, TSolverEngine for the next puzzle solver
|
2023-12-03 17:55:00 +01:00 |
|
warrence
|
2e4ab2ad5f
|
Renamed folder for puzzle solvers
|
2023-12-03 17:00:41 +01:00 |
|
warrence
|
a276c7f3f6
|
Updated readme
|
2023-12-03 01:55:36 +01:00 |
|
warrence
|
53b8262aaa
|
Fixed unit file name capitalization
|
2023-12-03 01:54:30 +01:00 |
|
warrence
|
af0fa04c38
|
Added solution for "Day 2: Cube Conundrum", part 2
|
2023-12-03 01:47:23 +01:00 |
|
warrence
|
665f168273
|
Added solution for "Day 2: Cube Conundrum", part 1
|
2023-12-03 01:27:35 +01:00 |
|
warrence
|
37f4198325
|
Added solution for "Day 1: Trebuchet?!", part 2
|
2023-12-02 18:40:50 +01:00 |
|
warrence
|
3b7bfa3103
|
Updated the solution for day 1, part 1 to facilitate part 2
|
2023-12-02 17:50:06 +01:00 |
|
warrence
|
b4352e8b87
|
Removed heap trace from project settings again because of the additional output
|
2023-12-02 17:48:23 +01:00 |
|
warrence
|
81c8e0c07e
|
Fixed memory leak
|
2023-12-02 17:46:02 +01:00 |
|
warrence
|
261b762572
|
Updated project settings for debugger, checks, and heap trace
|
2023-12-02 17:43:57 +01:00 |
|
warrence
|
15485c8923
|
Added license file header
|
2023-12-02 17:42:53 +01:00 |
|
warrence
|
828f8b575d
|
Added title being displayed at start of program execution
|
2023-12-02 17:41:19 +01:00 |
|
warrence
|
bd3f22d02b
|
Added year 2023 to the readme
|
2023-12-02 00:26:56 +01:00 |
|
warrence
|
585083f5ca
|
Added solution for "Day 1: Trebuchet?!", part 1
|
2023-12-02 00:25:07 +01:00 |
|
warrence
|
97348e0852
|
Updated readme
|
2023-12-01 23:10:18 +01:00 |
|
warrence
|
bfcdfb6bfc
|
Initial commit
|
2023-12-01 23:03:05 +01:00 |
|