{"id":18535775,"url":"https://github.com/daniel5151/aoc19","last_synced_at":"2025-06-22T18:35:40.580Z","repository":{"id":79235874,"uuid":"225440357","full_name":"daniel5151/aoc19","owner":"daniel5151","description":"My solutions to Advent of Code 2019 (in Rust) ","archived":false,"fork":false,"pushed_at":"2019-12-17T01:37:20.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T00:39:16.438Z","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/daniel5151.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-02T18:19:33.000Z","updated_at":"2019-12-17T01:37:22.000Z","dependencies_parsed_at":"2023-06-28T08:46:07.766Z","dependency_job_id":null,"html_url":"https://github.com/daniel5151/aoc19","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daniel5151/aoc19","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel5151%2Faoc19","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel5151%2Faoc19/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel5151%2Faoc19/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel5151%2Faoc19/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel5151","download_url":"https://codeload.github.com/daniel5151/aoc19/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel5151%2Faoc19/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261344535,"owners_count":23144885,"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-06T19:27:21.416Z","updated_at":"2025-06-22T18:35:35.560Z","avatar_url":"https://github.com/daniel5151.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2019\n\nMy solutions to Advent of Code 2019.\n\nSome goals:\n\n- Solve the questions (duh)\n- Keep the code clean (comments when applicable, using idiomatic Rust, etc...)\n- Solutions should have _reasonable_ (i.e: not strictly the _best_) space and time complexity\n- Solutions should run fairly quickly (on modern PCs)\n\nSome non-goals:\n\n- Scoring super high on the leaderboard (timezones give people an unfair advantage, and late-night-coding isn't prime-time for me)\n\n## Running\n\n(Assuming that the desired day's input has already been downloaded)\n\n```bash\ncargo run --release --features extras -- \u003cday\u003e \u003cquestion\u003e\n```\n\nThe `\"extras\"` feature enables several cool-but-slow-to-compile answers to certain questions (e.g: a multithreaded day7 q2).\n\n## Running (for speed)\n\n```bash\n./aoc19.sh \u003cday\u003e \u003cquestion\u003e\n# e.g: ./aoc19 3 1\n```\n\nThe harness will automatically download question input if a `cookie.txt` is provided. It's contents should look something like this:\n\n```\nru=53616c...; session=53616c...\n```\n\nGetting this cookie is fairly straightforward:\n- Open Chrome\n- Navigate to _any_ day's input URL (e.g: https://adventofcode.com/2019/day/1/input)\n- Open the Chrome Network Inspector\n- Refresh the URL\n- Right click the `input` request, and \"copy \u003e copy as cURL\"\n    - the string should include a `-H 'cookie: \u003ccookie.txt\u003e'` component.\n\nAlternatively, you can just invoke `cargo run --release -- \u003cday\u003e \u003cquestion\u003e` manually, though it will not automatically download input data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel5151%2Faoc19","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel5151%2Faoc19","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel5151%2Faoc19/lists"}