Commit Graph

  • f86f70d569 Added readme solution infos for days 12 and 25 main warrence 2024-11-20 20:28:07 +01:00
  • 3008efc4ae Added tests for BinomialCoefficients global var warrence 2024-11-20 00:05:44 +01:00
  • f61abcb9c3 Merged solution for "Day 12: Hot Springs", part 2 warrence 2024-11-19 23:54:48 +01:00
  • a55cae955a Fixed day 12 tests warrence 2024-11-19 22:58:51 +01:00
  • 2ff41caf37 Added caching of calculated combinations per block for day 12 warrence 2024-11-19 22:58:15 +01:00
  • 16e7528b34 Updated day 12 WIP performance refactor warrence 2024-11-19 18:14:14 +01:00
  • ec6928679a Updated day 12 WIP performance refactor warrence 2024-11-17 23:54:08 +01:00
  • 3f7fb4a548 Added global BinomialCoefficients instance warrence 2024-11-17 17:47:43 +01:00
  • 05863842df Added TBlock to replace the block strings for day 12 warrence 2024-11-15 19:08:33 +01:00
  • 1642c7dcfb Updated day 12 WIP solver (correct solution) warrence 2024-11-12 19:16:12 +01:00
  • 60ef49c1ee Updated day 12 WIP solver warrence 2024-11-09 23:17:47 +01:00
  • 21ef4c08f1 Added TBinomialCoefficientCache method documentation warrence 2024-11-09 23:11:05 +01:00
  • be0357befd Added binomial coefficient calculation warrence 2024-11-09 17:59:56 +01:00
  • 1d399cc5b6 Updated day 12 WIP solver warrence 2024-11-09 00:42:11 +01:00
  • fb2f813701 Added MultiIndexEnumerator warrence 2024-11-09 00:41:49 +01:00
  • 151b5dc49a Updated day 12 WIP solver warrence 2024-10-15 11:45:44 +02:00
  • 5ff8fafcb5 Fixed typos in readme warrence 2024-09-25 19:44:09 +02:00
  • 2517c4b8cf Added solution for "Day 21: Step Counter", part 2 warrence 2024-09-25 19:43:32 +02:00
  • e7285e88b5 Added solution for "Day 23: A Long Walk", part 2 warrence 2024-09-22 23:54:45 +02:00
  • b5576c66f1 Added TIntegerList and TPoints to common types warrence 2024-08-28 22:54:34 +02:00
  • 75aab50d42 Added solution for "Day 20: Pulse Propagation", part 2 warrence 2024-08-20 17:50:07 +02:00
  • c0ee7894ae Added initial attempt for "Day 12: Hot Springs", part 2 including test cases warrence 2023-12-13 12:32:12 +01:00
  • c84d3e6a2d Updated favorites in readme warrence 2024-07-03 20:42:40 +02:00
  • ba4195af82 Added solution for "Day 18: Lavaduct Lagoon", part 2 warrence 2024-07-03 20:41:19 +02:00
  • b086038aa5 Added solution for "Day 18: Lavaduct Lagoon", part 1 warrence 2024-06-29 01:03:16 +02:00
  • 4cd9392bbc Added puzzle commentaries for days 17, 19, and 22 warrence 2024-06-26 21:25:49 +02:00
  • c0a6145019 Added favorites in readme warrence 2024-06-26 21:23:04 +02:00
  • dfa6f6a09c Fixed more typos in the readme warrence 2024-06-26 21:20:21 +02:00
  • 00f90a1da9 Fixed nested if block in USandSlabs.pas warrence 2024-06-26 21:16:02 +02:00
  • 5441700572 Updated several of the solution infos in the readme warrence 2024-06-26 09:36:56 +02:00
  • 6d622d4c22 Added tests section in the readme warrence 2024-06-26 09:34:05 +02:00
  • 72ce40d84a Updated readme headings and links warrence 2024-06-26 09:32:52 +02:00
  • d79bd2e78a Removed unused unit includes, left from older changes warrence 2024-06-25 22:23:58 +02:00
  • 7b33e8b406 Added solution for "Day 17: Clumsy Crucible", part 2 warrence 2024-06-25 22:22:52 +02:00
  • ba1cefc371 Added solution for "Day 17: Clumsy Crucible", part 1 warrence 2024-06-19 22:38:24 +02:00
  • 0ccb047312 Fixed test project unit order warrence 2024-06-17 14:01:53 +02:00
  • 3e7943056a Added new alternative data path ..\..\data warrence 2024-06-17 14:01:23 +02:00
  • f66e3fc2d8 Removed full data test cases warrence 2024-06-17 14:00:22 +02:00
  • 8eb76329c1 Moved common TPoint direction code into new unit warrence 2024-06-10 20:48:07 +02:00
  • 19509c6173 Fixed memory leak in TSnowverload warrence 2024-06-10 20:46:54 +02:00
  • e81df9d558 Added test categories to all registered test cases warrence 2024-06-10 20:24:05 +02:00
  • 3f83f888f3 Updated solution for day 25, significantly speeding up the algorithm warrence 2024-06-05 13:40:31 +02:00
  • c5ea70ed21 Added solution for "Day 25: Snowverload", part 1 warrence 2024-06-04 17:14:24 +02:00
  • 216839c98b Fixed copyright date warrence 2024-06-03 20:52:42 +02:00
  • 3c2acf05e8 Fixed project uses warrence 2024-06-03 20:50:56 +02:00
  • c2570fab3d Removed unused dividers factorization warrence 2024-06-03 14:49:21 +02:00
  • 33e7b64276 Added puzzle commentary for day 24 warrence 2024-05-27 03:10:14 +02:00
  • 859a5db921 Merge branch 'day24-analytical' warrence 2024-05-27 02:53:03 +02:00
  • b27b14a153 Fixed day 24 helper variable indices warrence 2024-05-27 02:52:22 +02:00
  • 3e3e1d45d3 Added solution "Day 24: Never Tell Me The Odds", part 2 warrence 2024-05-27 02:29:49 +02:00
  • 44caf3e21c Fixed comments warrence 2024-05-26 19:57:10 +02:00
  • 1784e41c0f Fixed root isolation interval data types warrence 2024-05-26 19:28:04 +02:00
  • 5f93ad7869 Added bisection variant for integers instead of intervals warrence 2024-05-26 18:59:47 +02:00
  • 7db8f948c5 Changed TPolynomialRoots.BisectIsolation return type to array warrence 2024-05-26 17:34:18 +02:00
  • 8d4a5c2ed8 Changed root finder to use base-2 exponent of bound warrence 2024-05-26 17:05:02 +02:00
  • 04e1702a2e Added TBigIntPolynomial.ScaleVariableByPowerOfTwo warrence 2024-05-26 16:59:16 +02:00
  • ab453b347d Renamed root finding class and methods, now class methods warrence 2024-05-26 14:23:31 +02:00
  • ae30889bbb Fixed calculation of root-isolating intervals and tests warrence 2024-05-25 02:50:24 +02:00
  • 748964c871 Fixed broken polynomial degree in bisection algorithm warrence 2024-05-25 02:37:34 +02:00
  • fa5616f3cc Fixed initializer of zero polynomial warrence 2024-05-25 02:35:55 +02:00
  • baa1f8f31f Added bisection root finding algorithm with custom upper bound warrence 2024-05-24 20:47:52 +02:00
  • 53e3922654 Updated bisection root finding algorithm and test case warrence 2024-05-24 20:20:28 +02:00
  • cbaffbf55e Added TBigIntPolynomial methods needed for bisection algorithm warrence 2024-05-23 22:15:31 +02:00
  • aef4f28f46 Changed zero polynomial resulting from scaling to have one coefficient warrence 2024-05-23 22:11:22 +02:00
  • 37309d2817 Moved TBigIntPolynomial.IsEqualTo within the class warrence 2024-05-23 22:07:58 +02:00
  • 6802da1743 Merge branch 'bigint' into day24-analytical warrence 2024-05-23 22:03:41 +02:00
  • 2df8266d42 Added some improvements for TBigInt shift left operator bigint warrence 2024-05-23 22:01:25 +02:00
  • 4329041353 Added TBigInt shift right operator and tests warrence 2024-05-23 22:00:45 +02:00
  • 18f432bdfe Added parenthesis in TBigInt.ToString for negative values warrence 2024-05-23 21:08:01 +02:00
  • cfb74da86b Added TBigInt.One warrence 2024-05-23 21:07:11 +02:00
  • fad6e496c0 Removed unintentional WriteLn comments warrence 2024-05-23 21:06:33 +02:00
  • 9d444272e0 Merge branch 'bigint' into day24-analytical warrence 2024-05-20 15:04:32 +02:00
  • 52cee73123 Added TBigInt.GetMostSignificantBitIndex and tests warrence 2024-05-20 15:03:54 +02:00
  • afefbf46e3 Removed main project unit refs from FPCUnit project warrence 2024-05-20 01:05:16 +02:00
  • 7ac4a3519a Added TBigIntPolynomial.ToString warrence 2024-05-20 01:04:18 +02:00
  • d503968cee Merge branch 'bigint' into day24-analytical warrence 2024-05-20 01:01:20 +02:00
  • 2ca960f19c Added TBigInt.ToString for debugging warrence 2024-05-20 00:59:40 +02:00
  • 9c951073d9 Removed irrelevant todo warrence 2024-05-20 00:56:52 +02:00
  • 18de900a38 Fixed BigInt subtraction for equal operands warrence 2024-05-20 00:56:22 +02:00
  • c25317c0fc Merge branch 'bigint' into day24-analytical warrence 2024-05-16 17:14:00 +02:00
  • 62887ad1d7 Fixed BigInt multiplication test cases warrence 2024-05-16 17:08:44 +02:00
  • 7630bdddeb Fixed array init in BigInt shift and replaced Move warrence 2024-05-16 17:08:05 +02:00
  • df8b5c32fd Fixed BigInt test cases warrence 2024-05-14 16:52:32 +02:00
  • 1caee9ae6e Fixed BigInt string initializers warrence 2024-05-14 16:52:09 +02:00
  • eee05a9646 Added BigInt test cases (many broken) warrence 2024-05-13 18:20:23 +02:00
  • e11db7155a Added more BigInt features and fixes warrence 2024-05-13 18:19:15 +02:00
  • 53827acf9b Added new unit for polynomial root finding algorithm warrence 2024-04-04 20:34:57 +02:00
  • 4c0ff2f23f Added TBigIntPolynomial.ScaleVariable warrence 2024-04-04 20:26:21 +02:00
  • 0bbae0a83e Added polynomial degree and coefficients as public properties warrence 2024-04-04 20:24:56 +02:00
  • 71c8462358 Added TBigInt unequal operator warrence 2024-03-14 11:44:28 +01:00
  • 5808ec24f2 Added polynomials warrence 2024-03-14 11:42:09 +01:00
  • eb2b4a3f99 Added TBigInt unequal operator warrence 2024-03-14 11:44:28 +01:00
  • eca6b8f3f9 Added an example for the expected input file names in the readme warrence 2024-02-22 22:55:37 +01:00
  • 5b0a7996c5 Changed some of the expected input file names to stay closer to the day titles warrence 2024-02-22 22:54:45 +01:00
  • 801f8aa643 Added support for multiple data root paths warrence 2024-02-22 22:26:31 +01:00
  • 44c2c845e0 Added WIP analytical solution attempt warrence 2024-02-14 12:07:12 +01:00
  • 824ec0e29b Added error handling for missing data files warrence 2024-02-21 20:59:21 +01:00
  • 3f4a64b6e0 Removed puzzle and example inputs in accordance with the Advent of Code copyright notice warrence 2024-02-20 23:31:35 +01:00
  • 356cc2ad5e Merge branch 'bigint' into day24-analytical warrence 2024-02-14 13:21:15 +01:00
  • 9f619adc01 Fixed addition: final carry-over was inserted at the wrong end of the number warrence 2024-02-14 12:02:13 +01:00