This website requires JavaScript.
9d444272e0
Merge branch 'bigint' into day24-analytical
day24-analytical
Stefan Müller
2024-05-20 15:04:32 +0200
52cee73123
Added TBigInt.GetMostSignificantBitIndex and tests
bigint
Stefan Müller
2024-05-20 15:03:54 +0200
afefbf46e3
Removed main project unit refs from FPCUnit project
Stefan Müller
2024-05-20 01:05:16 +0200
7ac4a3519a
Added TBigIntPolynomial.ToString
Stefan Müller
2024-05-20 01:04:18 +0200
d503968cee
Merge branch 'bigint' into day24-analytical
Stefan Müller
2024-05-20 01:01:20 +0200
2ca960f19c
Added TBigInt.ToString for debugging
Stefan Müller
2024-05-20 00:59:40 +0200
9c951073d9
Removed irrelevant todo
Stefan Müller
2024-05-20 00:56:52 +0200
18de900a38
Fixed BigInt subtraction for equal operands
Stefan Müller
2024-05-20 00:56:22 +0200
c25317c0fc
Merge branch 'bigint' into day24-analytical
Stefan Müller
2024-05-16 17:14:00 +0200
62887ad1d7
Fixed BigInt multiplication test cases
Stefan Müller
2024-05-16 17:08:44 +0200
7630bdddeb
Fixed array init in BigInt shift and replaced Move
Stefan Müller
2024-05-16 17:08:05 +0200
df8b5c32fd
Fixed BigInt test cases
Stefan Müller
2024-05-14 16:52:32 +0200
1caee9ae6e
Fixed BigInt string initializers
Stefan Müller
2024-05-14 16:52:09 +0200
eee05a9646
Added BigInt test cases (many broken)
Stefan Müller
2024-05-13 18:20:23 +0200
e11db7155a
Added more BigInt features and fixes
Stefan Müller
2024-05-13 18:19:15 +0200
53827acf9b
Added new unit for polynomial root finding algorithm
Stefan Müller
2024-04-04 20:34:57 +0200
4c0ff2f23f
Added TBigIntPolynomial.ScaleVariable
Stefan Müller
2024-04-04 20:26:21 +0200
0bbae0a83e
Added polynomial degree and coefficients as public properties
Stefan Müller
2024-04-04 20:24:56 +0200
71c8462358
Added TBigInt unequal operator
Stefan Müller
2024-03-14 11:44:28 +0100
5808ec24f2
Added polynomials
Stefan Müller
2024-03-14 11:42:09 +0100
eb2b4a3f99
Added TBigInt unequal operator
Stefan Müller
2024-03-14 11:44:28 +0100
eca6b8f3f9
Added an example for the expected input file names in the readme
main
Stefan Müller
2024-02-22 22:55:37 +0100
5b0a7996c5
Changed some of the expected input file names to stay closer to the day titles
Stefan Müller
2024-02-22 22:54:45 +0100
801f8aa643
Added support for multiple data root paths
Stefan Müller
2024-02-22 22:26:31 +0100
44c2c845e0
Added WIP analytical solution attempt
Stefan Müller
2024-02-14 12:07:12 +0100
3d5235ad6e
Added another WIP solution attempt
day24-new
Stefan Müller
2024-02-16 21:22:31 +0100
824ec0e29b
Added error handling for missing data files
Stefan Müller
2024-02-21 20:59:21 +0100
3f4a64b6e0
Removed puzzle and example inputs in accordance with the Advent of Code copyright notice
Stefan Müller
2024-02-20 23:31:35 +0100
356cc2ad5e
Merge branch 'bigint' into day24-analytical
Stefan Müller
2024-02-14 13:21:15 +0100
9f619adc01
Fixed addition: final carry-over was inserted at the wrong end of the number
Stefan Müller
2024-02-14 12:02:13 +0100
ef1eba4538
Fixed shl operator: incorrect move for full digit shifts
Stefan Müller
2024-02-14 12:00:54 +0100
cec6985489
Updated operators
Stefan Müller
2024-02-14 11:59:42 +0100
5a3c320942
Fixed TBigInt heap memory allocation (fixed memory leaks)
Stefan Müller
2024-02-14 11:56:11 +0100
bfb33673ee
Fixed some redundant parenthesis
Stefan Müller
2024-01-31 19:20:10 +0100
7a6623c99c
Added draft of TBigInt object
Stefan Müller
2024-01-31 18:59:28 +0100
a034fbaedc
Added integer factorization and enumeration of dividers
factors-and-dividers
Stefan Müller
2024-01-31 18:58:49 +0100
cccf5693f7
Fixed negative GCD and allow Int64 for GCD and LCM
Stefan Müller
2024-01-23 12:21:43 +0100
571019d604
Removed fgl references
Stefan Müller
2023-12-30 23:20:52 +0100
fb3f41a6af
Added solution for "Day 24: Never Tell Me The Odds", part 1
Stefan Müller
2023-12-26 18:29:05 +0100
5495b32692
Added solution for "Day 23: A Long Walk", part 1
Stefan Müller
2023-12-25 00:44:13 +0100
c3ecaf59fa
Added custom constructors for TCosmicExpansion and TStepCounter to simplify test case setup
Stefan Müller
2023-12-23 20:16:18 +0100
2bb89c952b
Added solution for "Day 22: Sand Slabs", part 2
Stefan Müller
2023-12-23 20:03:05 +0100
7b77846abc
Added solution for "Day 22: Sand Slabs", part 1
Stefan Müller
2023-12-23 01:30:41 +0100
197e5f81b9
Removed left-over comments from TStepCounter
Stefan Müller
2023-12-22 15:15:56 +0100
2f7e95b5c9
Added test cases for day 21, part 2
day21-part2
Stefan Müller
2023-12-21 21:36:26 +0100
4e28a7a4c2
Removed or unregistered tests for incomplete solutions
Stefan Müller
2023-12-21 21:14:50 +0100
9855a38e50
Fixed missing visibility modifier on TFactor10CosmicExpansion test class
Stefan Müller
2023-12-21 21:12:18 +0100
bc2568756b
Added solution for "Day 21: Step Counter", part 1
Stefan Müller
2023-12-21 21:11:31 +0100
8d5757fae0
Added p/puzzle command line option to run only specific puzzles, and updated the application help text
Stefan Müller
2023-12-21 18:32:40 +0100
55f8f3d674
Added solution for "Day 20: Pulse Propagation", part 1
Stefan Müller
2023-12-21 16:14:00 +0100
b2bfbf1993
Added solution for "Day 19: Aplenty", part 2
Stefan Müller
2023-12-20 19:25:21 +0100
c3019613bd
Added solution for "Day 19: Aplenty", part 1
Stefan Müller
2023-12-20 11:41:17 +0100
b32a7345cb
Updated puzzle commentary for days 13, 14, 15, and 16
Stefan Müller
2023-12-19 19:03:46 +0100
58da932860
Added empty skeleton implementations and tests for days 17, 18, and 19
Stefan Müller
2023-12-19 17:57:58 +0100
01ec0be32c
Added solution for "Day 16: The Floor Will Be Lava", part 2
Stefan Müller
2023-12-19 17:26:18 +0100
e9737f0265
Moved the constants in UFloorWillBeLava below the types so that they can be together in a single const block
Stefan Müller
2023-12-19 13:15:46 +0100
58c677f409
Added solution for "Day 16: The Floor Will Be Lava", part 1
Stefan Müller
2023-12-19 13:11:39 +0100
2902689d07
Removed day 14 debugging code
Stefan Müller
2023-12-18 21:14:35 +0100
95de6f1f7b
Added another small performance improvement for day 14
Stefan Müller
2023-12-18 21:13:50 +0100
29663ad82e
Merge branch 'day14-test'
Stefan Müller
2023-12-18 20:33:47 +0100
515d39da40
Updated day 14 algorithm to not operate directly on the strings
Stefan Müller
2023-12-18 20:30:24 +0100
d582eb4d52
Added solution for "Day 15: Lens Library", part 2
Stefan Müller
2023-12-17 23:11:44 +0100
3501f6f574
Added solution for "Day 15: Lens Library", part 1
Stefan Müller
2023-12-15 18:21:37 +0100
d8b298dad8
Updated day 14 solution with some small code improvements
Stefan Müller
2023-12-15 00:46:21 +0100
22b9a24893
Added solution for "Day 14: Parabolic Reflector Dish", part 2
Stefan Müller
2023-12-14 21:23:07 +0100
637e7aedad
Added missing test value for day 14, part 1
Stefan Müller
2023-12-14 20:47:46 +0100
f9583e684d
Added solution for "Day 14: Parabolic Reflector Dish", part 1
Stefan Müller
2023-12-14 17:51:12 +0100
01267c8f79
Refactored TPointOfIncidence to better unify the algorithm for both parts
Stefan Müller
2023-12-14 00:52:28 +0100
307eb14b55
Added solution for "Day 13: Point of Incidence", part 2
Stefan Müller
2023-12-14 00:32:27 +0100
6b888a3f68
Added solution for "Day 13: Point of Incidence", part 1
Stefan Müller
2023-12-13 18:38:28 +0100
d32297782c
Fixed unused variables in THotSprings
Stefan Müller
2023-12-13 18:37:56 +0100
adc17abfde
Added initial attempt for "Day 12: Hot Springs", part 2 including test cases
day12-part2
Stefan Müller
2023-12-13 12:32:12 +0100
64eeb98e85
Added solution for "Day 12: Hot Springs", part 1
Stefan Müller
2023-12-12 15:47:58 +0100
8b13ad992b
Added solution for "Day 11: Cosmic Expansion", part 2
Stefan Müller
2023-12-11 16:45:56 +0100
5bd814a381
Added solution for "Day 11: Cosmic Expansion", part 1
Stefan Müller
2023-12-11 16:21:26 +0100
cbce1ce794
Added more char constants for TPipeMaze
Stefan Müller
2023-12-11 15:22:54 +0100
d1ae6d0404
Updated readme with FPC/Lazarus version details and more commentary
Stefan Müller
2023-12-11 15:13:47 +0100
344be871db
Added solution for "Day 10: Pipe Maze", part 2
Stefan Müller
2023-12-11 15:03:01 +0100
ac81b20db5
Added solution for "Day 10: Pipe Maze", part 1
Stefan Müller
2023-12-10 12:23:20 +0100
d10ad23a4b
Fixed formatting
Stefan Müller
2023-12-10 10:48:49 +0100
1d58d947ef
Updated puzzle commentary
Stefan Müller
2023-12-10 10:33:31 +0100
7461ab7536
Added commentary for a some of the solved puzzles
Stefan Müller
2023-12-09 23:53:06 +0100
09baefc881
Added solution for "Day 9: Mirage Maintenance", part 2
Stefan Müller
2023-12-09 23:11:37 +0100
f69d60e5db
Added solution for "Day 9: Mirage Maintenance", part 1
Stefan Müller
2023-12-09 22:39:07 +0100
f1b1439524
Added solution for "Day 8: Haunted Wasteland", part 2
Stefan Müller
2023-12-09 14:46:35 +0100
edf9cf3d72
Added new unit with calculations of GCD and LCM
Stefan Müller
2023-12-09 14:46:06 +0100
7baf255fda
Changed result type in ISolver from Cardinal to Int64 for Day 8, part 2
Stefan Müller
2023-12-09 14:44:47 +0100
269643ad2a
Refactored the Trebuchet test cases
Stefan Müller
2023-12-09 01:00:36 +0100
95e06e2b10
Added solution for "Day 8: Haunted Wasteland", part 1
Stefan Müller
2023-12-09 00:59:18 +0100
6b5048b7ef
Added solution for "Day 7: Camel Cards", part 2
Stefan Müller
2023-12-07 17:58:54 +0100
3f74b7c664
Added solution for "Day 7: Camel Cards", part 1
Stefan Müller
2023-12-07 17:08:15 +0100
17a34bbdc6
Fixed explicit member scope in TWaitForIt
Stefan Müller
2023-12-07 17:07:39 +0100
2af4cf78b5
Added solution for "Day 6: Wait For It", part 2
Stefan Müller
2023-12-06 12:45:23 +0100
93f6ceb1db
Added solution for "Day 6: Wait For It", part 1
Stefan Müller
2023-12-06 12:26:19 +0100
94bc00ab1c
Fixed file location of UGiveSeedFertilizer.pas
Stefan Müller
2023-12-06 01:15:44 +0100
26561ba421
Added solution for "Day 5: If You Give A Seed A Fertilizer", part 2
Stefan Müller
2023-12-06 01:12:26 +0100
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
Stefan Müller
2023-12-05 18:14:14 +0100
e68701333b
Added test cases for "Trebuchet" and "Cube Conundrum"
Stefan Müller
2023-12-05 17:21:21 +0100
9ab9dcfb51
Updated "Trebuchet?!" to use the solver-engine framework
Stefan Müller
2023-12-05 16:58:44 +0100
2e13199796
Updated "Cube Conundrum" to use the solver-engine framework
Stefan Müller
2023-12-05 15:45:57 +0100