{"id":16520825,"url":"https://github.com/jhrcook/advent-of-code-2023-rust","last_synced_at":"2026-06-07T03:32:52.342Z","repository":{"id":210243074,"uuid":"724214299","full_name":"jhrcook/advent-of-code-2023-rust","owner":"jhrcook","description":"My solutions to Advent of Code 2023 (in Rust).","archived":false,"fork":false,"pushed_at":"2024-03-10T23:03:55.000Z","size":268,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T01:15:44.010Z","etag":null,"topics":["advent-of-code","advent-of-code-2023","rust"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhrcook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-27T16:17:39.000Z","updated_at":"2024-11-20T04:22:12.000Z","dependencies_parsed_at":"2024-01-01T23:54:37.917Z","dependency_job_id":"9cababf1-0162-41fb-9879-613a41b82b6c","html_url":"https://github.com/jhrcook/advent-of-code-2023-rust","commit_stats":null,"previous_names":["jhrcook/advent-of-code-2023-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhrcook/advent-of-code-2023-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code-2023-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code-2023-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code-2023-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code-2023-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhrcook","download_url":"https://codeload.github.com/jhrcook/advent-of-code-2023-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code-2023-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34006637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-of-code","advent-of-code-2023","rust"],"created_at":"2024-10-11T16:53:19.512Z","updated_at":"2026-06-07T03:32:52.292Z","avatar_url":"https://github.com/jhrcook.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2023 solutions in Rust\n\n**My solutions to the [Advent of Code 2023](https://adventofcode.com/2023) using Rust.**\n\n[![advent-of-code](https://img.shields.io/badge/Advent_of_Code-2023-F80046.svg?style=flat)](https://adventofcode.com)\n[![rust](https://img.shields.io/badge/Rust-1.74.0-000000.svg?style=flat\u0026logo=rust)](https://www.python.org)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![Cargo Build \u0026 Test](https://github.com/jhrcook/advent-of-code-2023-rust/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/jhrcook/advent-of-code-2023-rust/actions/workflows/ci.yaml)\n\n| Day | Code                                                     | Stars |\n| ---:| -------------------------------------------------------- |:-----:|\n| 1   | [src/solutions/day01.rs](src/solutions/day01.rs)         | ⭐️⭐️   |\n| 2   | [src/solutions/day02.rs](src/solutions/day02.rs)         | ⭐️⭐️   |\n| 3   | [src/solutions/day03.rs](src/solutions/day03.rs)         | ⭐️⭐️   |\n| 4   | [src/solutions/day04.rs](src/solutions/day04.rs)         | ⭐️⭐️   |\n| 5   | [src/solutions/day05.rs](src/solutions/day05.rs)         | ⭐️⭐️   |\n| 6   | [src/solutions/day06.rs](src/solutions/day06.rs)         | ⭐️⭐️   |\n| 7   | [src/solutions/day07.rs](src/solutions/day07.rs)         | ⭐️⭐️   |\n| 8   | [src/solutions/day08.rs](src/solutions/day08.rs)         | ⭐️⭐️   |\n| 9   | [src/solutions/day09.rs](src/solutions/day09.rs)         | ⭐️⭐️   |\n| 10  | [src/solutions/day10.rs](src/solutions/day10.rs)         | ⭐️[^1] |\n| 11  | [src/solutions/day11.rs](src/solutions/day11.rs)         | ⭐️⭐️   |\n| 12  | [src/solutions/day12.rs](src/solutions/day12.rs)         | ⭐️⭐️   |\n| 13  | [src/solutions/day13.rs](src/solutions/day13.rs)         | ⭐️⭐️   |\n| 14  | [src/solutions/day14.rs](src/solutions/day14.rs)         | ⭐️⭐️   |\n| 15  | [src/solutions/day15.rs](src/solutions/day15.rs)         | ⭐️⭐️   |\n| 16  | [src/solutions/day16.rs](src/solutions/day16.rs)         | ⭐️⭐️   |\n| 17  | [src/solutions/day17.rs](src/solutions/day17.rs)         | ⭐️⭐️   |\n| 18  | [src/solutions/day18.rs](src/solutions/day18.rs)         | ⭐️⭐️   |\n| 19  | [src/solutions/day19.rs](src/solutions/day19.rs)         | ⭐️    |\n| 20  | [src/solutions/day20.rs](src/solutions/day20.rs)         | ⭐️⭐️   |\n\u003c!-- | 21  | [src/solutions/day21.rs](src/solutions/day21.rs)         | ⭐️⭐️   | --\u003e\n\u003c!-- | 22  | [src/solutions/day22.rs](src/solutions/day22.rs)         | ⭐️⭐️   | --\u003e\n\u003c!-- | 23  | [src/solutions/day23.rs](src/solutions/day23.rs)         | ⭐️⭐️   | --\u003e\n\u003c!-- | 24  | [src/solutions/day24.rs](src/solutions/day24.rs)         | ⭐️⭐️   | --\u003e\n\n[^1]: I'm close on puzzle 10 day 2. I have the algorithm ready to search the maze, but there is a bug in the construction of the maze where the primary path is not the only one selected.\n\n## Help\n\nUsed this Reddit post for Day 12 part 2: \u003chttps://www.reddit.com/r/adventofcode/comments/18hbbxe/2023_day_12python_stepbystep_tutorial_with_bonus/\u003e\n\nI implemented the algorithm described in this Reddit [post](https://www.reddit.com/r/adventofcode/comments/18k9ne5/comment/kdqp7jx/?utm_source=share\u0026utm_medium=web3x\u0026utm_name=web3xcss\u0026utm_term=1\u0026utm_content=share_button) for Day 17 ([Python code](https://topaz.github.io/paste/#XQAAAQCcAgAAAAAAAAAzHIoib6py7i/yVWhl9dSCjkM4GPHrtd8B89i40hrslkM0i9r9hxir+33uzZa01Y7HY/oCJMAoqvX6OLOsC224RKbiSlSU1U6sDn8KTPKvoKhtJCgPq4QDeXZl8oKQCyrAOP0g3rHGLO7gde4rqBUfOeNyypDl5CSgMF0ceJifzUGjB1OliVqXbO/Ydsmg77dYyTbWx89UvPTsZiijfyTYH7ybEz1UtsTx6VHFZ5zcAVDl7ClaQ7+4gn7tShBjy8XQ0s9XR6uWqgo3vPVBjj9Bf3UGCWSP8qYw9N4dZcLcnLbZQgRkBbK2s9a0Cl0XXD0ie4lmMxzz3pLE3i7GFFzUEv9/dNRee0hFwDsxRBK7ERsb8Xt+mYS+fyiltY71gJKfELcn9Eu3TJy2kI/k2o4YHLSGL20gXFLoE4CunCJ2f6iLMbyU/+WeeKUMZn4BQ72S3uZ4SAD9wV+H44NtZEq0I6qYBCrLX98ODOc6lTFAPjJWFmvpIv74Evkb))\n\nI was lazy on part 2 of Day 20 and went looking for the answer without trying to really figure it out.\nUsed the logic described in this [notebook](https://github.com/derailed-dash/Advent-of-Code/blob/master/src/AoC_2023/Dazbo's_Advent_of_Code_2023.ipynb) to get the solution.\n\n## Setup\n\n```bash\ngit clone git@github.com:jhrcook/advent-of-code-2023-rust.git\ncd advent-of-code-2023-rust\n```\n\n## Execute puzzles\n\nTest:\n\n```bash\ncargo check\ncargo test\n```\n\nDev build and run:\n\n```bash\ncargo run --release\ncargo run --release -- --day 1\n```\n\nFull install and run:\n\n```bash\ncargo install --path .\naoc-2023\naoc-2023 --day 1\n```\n\nFor estimating start-up time:\n\n```bash\naoc-2023 --empty\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fadvent-of-code-2023-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhrcook%2Fadvent-of-code-2023-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fadvent-of-code-2023-rust/lists"}