Commit graph

11 commits

Author SHA1 Message Date
5a5e843129
2015, day 16-25 (first completed calendar!) (#11)
* Solve 2015:16 "Aunt Sue"

* Make 2023:08 future compatible

Code used to work with another version of python.

* Solve 2015:17 "No such Thing as Too much"

* Solve 2015:18 "Like a GIF For Your Yard"

Also solve 2015:06 just in case, was just a ref
in the end.

* Solve 2015:19 "Medicine for Rudolph"

* Solve 2015:20 "Infinite Elves and Infinite Houses"

* Solve 2023:21 "RPG Simulator 20XX"

* Solve 2015:22 "Wizard Simulator 20XX"

* Solve 2015:23 "Opening the Turing Lock"

* Solve 2015:25 "Let it Snow"

Wrote p2rc and rc2p just for academic purposes.
Puzzles could be solved anyway.

* Solve 2015:24 "Hangs in the Balance"

---------

Co-authored-by: Anders Englöf Ytterström <anders@playmaker.ai>
2023-12-19 14:24:28 +01:00
fb5a1b9381 Solve 2015:15 "Science for Hungry People" 2023-11-20 20:54:43 +01:00
cfd2c0f079 Solve 2015:14 "Reindeer Olympics" 2023-11-20 20:54:43 +01:00
e859324030 Solve 2015:13 "Knights of the Dinner Table" 2023-11-20 20:54:43 +01:00
6a1b231552 Solve 2015:12 "JSAbacusFramework.io" 2023-11-20 20:54:43 +01:00
838d06100b Solve 2015:11 "Corporate Policy"
I brainfarted and had a hard time trying to
understand the instructions.

> Incrementing is just like counting with numbers: xx, xy, xz, ya, yb, and so on. Increase the rightmost letter one step; if it was z, it wraps around to a, and repeat with the next letter to the left until one doesn't wrap around.

I only managed to understand it by looking at solutions on the
subreddit, figuring out the correct behavior:

az -> ba, azzz -> baaa, azzzzz -> baaaaa etc.

I also sped up the test case containing `ghi` as initial password,
by looking for the leftmost invalid I, L or O and increase it,
replacing all following chars with `a`.

ghijklmn -> ghjaaaaa.
2023-11-20 20:54:43 +01:00
4742910afd Solve 2015:10 "Elves Look, Elves Say" 2023-11-20 20:54:43 +01:00
84d33a8b26 Remove not started 2015:6 2023-11-20 20:54:43 +01:00
8f5d73b4bf Solve 2015:9 "All in a Single Night" 2023-11-20 20:54:43 +01:00
5aba2fbed8 Solve 2015:8 "Machinesticks" 2023-11-20 20:54:43 +01:00
Anders Ytterström
5ed6e5e8ce Solve day 5-6 2015 2022-11-25 12:03:57 +01:00