{"id":22513340,"url":"https://github.com/wrightdylan/advent-of-code-2024","last_synced_at":"2025-03-28T01:22:57.766Z","repository":{"id":265936848,"uuid":"896419592","full_name":"wrightdylan/advent-of-code-2024","owner":"wrightdylan","description":"🎄 Advent of Code 2024 in Rust 🎄 ","archived":false,"fork":false,"pushed_at":"2025-02-10T12:12:04.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T13:24:12.707Z","etag":null,"topics":["advent-calendar","advent-of-code","advent-of-code-2024","aoc","aoc-2024","aoc-2024-in-rust","code-challenges","problem-solving","rust","rust-lang"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/2024","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wrightdylan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-30T10:09:36.000Z","updated_at":"2025-02-10T12:12:08.000Z","dependencies_parsed_at":"2024-12-16T16:29:50.055Z","dependency_job_id":"5e498592-2784-4d4b-9503-61d965941317","html_url":"https://github.com/wrightdylan/advent-of-code-2024","commit_stats":null,"previous_names":["wrightdylan/advent-of-code-2024"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrightdylan%2Fadvent-of-code-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrightdylan%2Fadvent-of-code-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrightdylan%2Fadvent-of-code-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrightdylan%2Fadvent-of-code-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wrightdylan","download_url":"https://codeload.github.com/wrightdylan/advent-of-code-2024/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245950588,"owners_count":20699094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advent-calendar","advent-of-code","advent-of-code-2024","aoc","aoc-2024","aoc-2024-in-rust","code-challenges","problem-solving","rust","rust-lang"],"created_at":"2024-12-07T03:11:30.587Z","updated_at":"2025-03-28T01:22:57.760Z","avatar_url":"https://github.com/wrightdylan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :gift::christmas_tree: Advent of Code 2024 :christmas_tree::sparkles:\n\nThese are my solutions to this year's [Advent of Code](https://adventofcode.com/2024/).\n\nSolutions make use of `cargo-aoc` code helper ([here](https://github.com/gobanos/cargo-aoc)).\n\n## Solutions\n\nAll solutions linked below:\n| Day | Title | 1 :star: | 2 :star: | Solution | Rating |\n|:-|:-|:-|:-|:-|:-|\n| [01](https://adventofcode.com/2024/day/1)  | Historian Hysteria              | 60.3µs | 66.5µs | [day01.rs](./src/day01.rs) | :christmas_tree: |\n| [02](https://adventofcode.com/2024/day/2)  | Red-Nosed Reports               | 20.1µs | 98.8µs | [day02.rs](./src/day02.rs) | :grin::sweat:    |\n| [03](https://adventofcode.com/2024/day/3)  | Mull it Over                    | 1.41µs | 2.28µs | [day03.rs](./src/day03.rs) | :sob:            |\n| [04](https://adventofcode.com/2024/day/4)  | Ceres Search                    | 1.24ms | 2.56ms | [day04.rs](./src/day04.rs) | :woozy_face:     |\n| [05](https://adventofcode.com/2024/day/5)  | Print Queue                     | 253µs  | 474µs  | [day05.rs](./src/day05.rs) | :sunglasses::frowning_face: |\n| [06](https://adventofcode.com/2024/day/6)  | Guard Gallivant                 | 1.35ms | 1.775s | [day06.rs](./src/day06.rs) | :hugs::cursing_face:        |\n| [07](https://adventofcode.com/2024/day/7)  | Bridge Repair                   | 1.70ms | 103ms  | [day07.rs](./src/day07.rs) | :smiling_face_with_three_hearts: |\n| [08](https://adventofcode.com/2024/day/8)  | Resonant Collinearity           | 58.1µs | 191µs  | [day08.rs](./src/day08.rs) | :nerd_face:      |\n| [09](https://adventofcode.com/2024/day/9)  | Disk Fragmenter                 | 1.43ms | 40.8ms | [day09.rs](./src/day09.rs) | :relaxed::woozy_face: |\n| [10](https://adventofcode.com/2024/day/10) | Hoof It                         | 757µs  | 182µs  | [day10.rs](./src/day10.rs) | :heart_eyes::partying_face: |\n| [11](https://adventofcode.com/2024/day/11) | Plutonian Pebbles               | 341µs  | 13.0ms | [day11.rs](./src/day11.rs) | :cursing_face:   |\n| [12](https://adventofcode.com/2024/day/12) | Garden Groups                   | 444µs  | 3.69ms | [day12.rs](./src/day12.rs) | :sob:            |\n| [13](https://adventofcode.com/2024/day/13) | Claw Contraption                | 11.2µs | 11.8µs | [day13.rs](./src/day13.rs) | :nerd_face:      |\n| [14](https://adventofcode.com/2024/day/14) | Restroom Redoubt                | 6.55µs | 48.7ms | [day14.rs](./src/day14.rs) | :relaxed::face_with_spiral_eyes: |\n| [15](https://adventofcode.com/2024/day/15) | Warehouse Woes                  | 363µs  | 2.56ms | [day15.rs](./src/day15.rs) | :cry:            |\n| [16](https://adventofcode.com/2024/day/16) | Reindeer Maze                   | 10.7ms | 29.0ms | [day16.rs](./src/day16.rs) | :weary:          |\n| [17](https://adventofcode.com/2024/day/17) | Chronospatial Computer          | 3.32µs | 181µs  | [day17.rs](./src/day17.rs) | :smile::scream:  |\n| [18](https://adventofcode.com/2024/day/18) | RAM Run                         | 2.47ms | 39.5ms | [day18.rs](./src/day18.rs) | :zany_face:      |\n| [19](https://adventofcode.com/2024/day/19) | Linen Layout                    | 69.9ms | 61.9ms | [day19.rs](./src/day19.rs) | :thinking:       |\n| [20](https://adventofcode.com/2024/day/20) | Race Condition                  | 4.97ms | 132ms  | [day20.rs](./src/day20.rs) | :smirk:          |\n| [21](https://adventofcode.com/2024/day/21) | Keypad Conundrum                | 15.5µs | 193µs  | [day21.rs](./src/day21.rs) | :hourglass:      |\n| [22](https://adventofcode.com/2024/day/22) | Monkey Market                   | 2.18ms | 60.8ms | [day22.rs](./src/day22.rs) | :hourglass:      |\n| [23](https://adventofcode.com/2024/day/23) | LAN Party                       | 589µs  | XXXXXX | [day23.rs](./src/day23.rs) | :hourglass:      |\n| [24](https://adventofcode.com/2024/day/24) | Crossed Wires                   | XXXXXX | XXXXXX | [day24.rs](./src/day24.rs) | :hourglass:      |\n| [25](https://adventofcode.com/2024/day/25) | Code Chronicle                  | XXXXXX | ------ | [day25.rs](./src/day25.rs) | :hourglass:      |\n\n## Notes\n1. Day 01 part 2 was improved, initially giving a result of 69.69µs\n2. Two solutions for day 2 - one arithmetic, and another using a state machine. Both are comparable.\n3. Regex was an obvious goto for this, but I really detest using it\n4. Some hits for day part 1 were palindromes, and part 2 required only diagonal crosses\n5. I had quite a few false positives for day 5 part 2 when trying `easier' solutions\n6. Day 6 part 1 was fairly straightforward, but part 2 kept encountering false positives from 8 attempted solutions.\n7. Day 7... good old ADS classes. It could be a bit faster though. *Now 10x faster*\n8. Solutions work better when there are no typos. Who knew?\n9. Day 10 part 2 was inadvertently solved before part 1 :sweat_smile:\n10. Day 11 - The order of the stones being preserved is irrelevant. Ignore it.\n11. Day 12 - Finally a day I was dreading, when the puzzles get very hard... like me.\n12. Day 14 can take a lot longer if you make the wrong assumptions about what the Christmas tree is supposed to look like.\n13. Day 15 part 2 was just nasty.\n14. Day 17 was really cool to do.\n15. Days 21-23 will have to be skipped for now :sob:\n16. Day 22 part 2 often has run times of 69 ms.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrightdylan%2Fadvent-of-code-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrightdylan%2Fadvent-of-code-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrightdylan%2Fadvent-of-code-2024/lists"}