{"id":21135541,"url":"https://github.com/mrrobb/advent-of-code-2019","last_synced_at":"2025-03-14T12:44:12.662Z","repository":{"id":98850090,"uuid":"225430449","full_name":"MrRobb/advent-of-code-2019","owner":"MrRobb","description":"Rust solutions of Advent of Code 2019","archived":false,"fork":false,"pushed_at":"2019-12-11T13:37:09.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T06:43:29.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MrRobb.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,"publiccode":null,"codemeta":null}},"created_at":"2019-12-02T17:23:04.000Z","updated_at":"2019-12-11T13:37:12.000Z","dependencies_parsed_at":"2023-03-13T15:53:55.217Z","dependency_job_id":null,"html_url":"https://github.com/MrRobb/advent-of-code-2019","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fadvent-of-code-2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fadvent-of-code-2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fadvent-of-code-2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrRobb%2Fadvent-of-code-2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrRobb","download_url":"https://codeload.github.com/MrRobb/advent-of-code-2019/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581062,"owners_count":20314163,"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":[],"created_at":"2024-11-20T06:56:30.321Z","updated_at":"2025-03-14T12:44:12.655Z","avatar_url":"https://github.com/MrRobb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2019\n\n![HitCount](http://hits.dwyl.io/mrrobb/advent-of-code-2019.svg)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/MrRobb/advent-of-code-2019/blob/master/LICENSE)\n\n|       | Problem                                          | Solution                                                                              | Time execution    | Finished |\n|-------|--------------------------------------------------|---------------------------------------------------------------------------------------|-------------------|----------|\n| Day 1 | [Problem 1](https://adventofcode.com/2019/day/1) | [day1.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day1.rs?ts=4) | 2.7 ms ± 0.5 ms   | ✓        |\n| Day 2 | [Problem 2](https://adventofcode.com/2019/day/2) | [day2.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day2.rs?ts=4) | 5.2 ms ± 0.5 ms   | ✓        |\n| Day 3 | [Problem 3](https://adventofcode.com/2019/day/3) | [day3.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day3.rs?ts=4) | 4.5 ms ± 0.6 ms   | ✓        |\n| Day 4 | [Problem 4](https://adventofcode.com/2019/day/4) | [day4.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day4.rs?ts=4) | 2.7 ms ± 0.4 ms   | ✓        |\n| Day 5 | [Problem 5](https://adventofcode.com/2019/day/5) | [day5.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day5.rs?ts=4) | 2.9 ms ± 0.6 ms   | ✓        |\n| Day 6 | [Problem 6](https://adventofcode.com/2019/day/6) | [day6.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day6.rs?ts=4) | 5.8 ms ± 0.4 ms   | ✓        |\n| Day 7 | [Problem 7](https://adventofcode.com/2019/day/7) | [day7.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day7.rs?ts=4) | 13.2 ms ± 0.6 ms  | ✓        |\n| Day 8 | [Problem 8](https://adventofcode.com/2019/day/8) | [day8.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day8.rs?ts=4) | 2.8 ms ± 0.5 ms   | ✓        |\n| Day 9 | [Problem 9](https://adventofcode.com/2019/day/9) | [day9.rs](https://github.com/MrRobb/advent-of-code-2019/blob/master/src/day9.rs?ts=4) | 216.0 ms ± 3.8 ms | ✓        |\n\n## Install Rust\n\nIf you don't have Rust installed ([how dare you](https://media.giphy.com/media/U1aN4HTfJ2SmgB2BBK/giphy.gif)) just run this:\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\n\u003e If you are not using a Unix-like OS, check the instructions [here](https://www.rust-lang.org/tools/install)\n\n## Usage\n\n### Clone\n\n```sh\ngit clone https://github.com/MrRobb/advent-of-code-2019.git\ncd advent-of-code-2019\n```\n\n### Build\n\n```sh\ncargo build\n```\n\n### Run\n\n#### Run all\n\n```sh\ncargo run\n```\n\n#### Run a specific day\n\n```sh\ncargo run --bin day1\n```\n\n#### Benchmarks\n\n```txt\nBenchmark #1: target/release/day1\n  Time (mean ± σ):       2.7 ms ±   0.5 ms    [User: 0.9 ms, System: 0.7 ms]\n  Range (min … max):     2.2 ms …   6.6 ms    450 runs\n\nBenchmark #2: target/release/day2\n  Time (mean ± σ):       5.2 ms ±   0.5 ms    [User: 3.2 ms, System: 0.8 ms]\n  Range (min … max):     4.4 ms …   7.0 ms    322 runs\n\nBenchmark #3: target/release/day3\n  Time (mean ± σ):       4.5 ms ±   0.6 ms    [User: 2.5 ms, System: 0.8 ms]\n  Range (min … max):     3.9 ms …   7.5 ms    305 runs\n\nBenchmark #4: target/release/day4\n  Time (mean ± σ):       2.7 ms ±   0.4 ms    [User: 0.8 ms, System: 0.7 ms]\n  Range (min … max):     2.2 ms …   4.7 ms    447 runs\n\nBenchmark #5: target/release/day5\n  Time (mean ± σ):       2.9 ms ±   0.6 ms    [User: 1.0 ms, System: 0.8 ms]\n  Range (min … max):     2.3 ms …   6.3 ms    412 runs\n\nBenchmark #6: target/release/day6\n  Time (mean ± σ):       5.8 ms ±   0.4 ms    [User: 3.7 ms, System: 0.9 ms]\n  Range (min … max):     5.3 ms …   7.3 ms    290 runs\n\nBenchmark #7: target/release/day7\n  Time (mean ± σ):      13.2 ms ±   0.6 ms    [User: 10.9 ms, System: 1.0 ms]\n  Range (min … max):    12.3 ms …  15.0 ms    180 runs\n\nBenchmark #8: target/release/day8\n  Time (mean ± σ):       2.8 ms ±   0.5 ms    [User: 1.0 ms, System: 0.7 ms]\n  Range (min … max):     2.3 ms …   5.2 ms    489 runs\n\nBenchmark #9: target/release/day9\n  Time (mean ± σ):     216.0 ms ±   3.8 ms    [User: 212.0 ms, System: 1.8 ms]\n  Range (min … max):   210.0 ms … 229.1 ms    100 runs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Fadvent-of-code-2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrrobb%2Fadvent-of-code-2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrobb%2Fadvent-of-code-2019/lists"}