warrence
|
2ca960f19c
|
Added TBigInt.ToString for debugging
|
2024-05-20 00:59:40 +02:00 |
|
warrence
|
9c951073d9
|
Removed irrelevant todo
|
2024-05-20 00:56:52 +02:00 |
|
warrence
|
18de900a38
|
Fixed BigInt subtraction for equal operands
|
2024-05-20 00:56:22 +02:00 |
|
warrence
|
62887ad1d7
|
Fixed BigInt multiplication test cases
|
2024-05-16 17:08:44 +02:00 |
|
warrence
|
7630bdddeb
|
Fixed array init in BigInt shift and replaced Move
|
2024-05-16 17:08:05 +02:00 |
|
warrence
|
df8b5c32fd
|
Fixed BigInt test cases
|
2024-05-14 16:52:32 +02:00 |
|
warrence
|
1caee9ae6e
|
Fixed BigInt string initializers
|
2024-05-14 16:52:09 +02:00 |
|
warrence
|
eee05a9646
|
Added BigInt test cases (many broken)
|
2024-05-13 18:20:23 +02:00 |
|
warrence
|
e11db7155a
|
Added more BigInt features and fixes
- Fixed some uses of Move
- Added Sign, string initializers (hexadecimal and binary), explicit
converter to Int64, comparison operators
|
2024-05-13 18:19:15 +02:00 |
|
warrence
|
eb2b4a3f99
|
Added TBigInt unequal operator
|
2024-05-13 15:17:13 +02:00 |
|
warrence
|
44c2c845e0
|
Added WIP analytical solution attempt
|
2024-02-21 21:05:34 +01:00 |
|
warrence
|
356cc2ad5e
|
Merge branch 'bigint' into day24-analytical
|
2024-02-14 13:21:15 +01:00 |
|
warrence
|
9f619adc01
|
Fixed addition: final carry-over was inserted at the wrong end of the number
|
2024-02-14 12:09:18 +01:00 |
|
warrence
|
ef1eba4538
|
Fixed shl operator: incorrect move for full digit shifts
|
2024-02-14 12:09:18 +01:00 |
|
warrence
|
cec6985489
|
Updated operators
|
2024-02-14 12:09:18 +01:00 |
|
warrence
|
5a3c320942
|
Fixed TBigInt heap memory allocation (fixed memory leaks)
|
2024-02-14 12:09:18 +01:00 |
|
warrence
|
bfb33673ee
|
Fixed some redundant parenthesis
|
2024-02-14 12:09:18 +01:00 |
|
warrence
|
7a6623c99c
|
Added draft of TBigInt object
|
2024-02-14 12:09:18 +01:00 |
|
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 |
|