{"id":17022158,"url":"https://github.com/feldim2425/adventofcode19","last_synced_at":"2025-10-18T09:04:58.633Z","repository":{"id":101504077,"uuid":"225491000","full_name":"feldim2425/AdventOfCode19","owner":"feldim2425","description":"Advent of Code 2019 / My solutions","archived":false,"fork":false,"pushed_at":"2019-12-14T14:34:26.000Z","size":98,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T21:33:38.118Z","etag":null,"topics":["advent","advent-of-code","advent-of-code-2019","rust"],"latest_commit_sha":null,"homepage":"","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/feldim2425.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-02T23:51:50.000Z","updated_at":"2021-03-05T15:47:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c8e9e21-d641-47dd-91ca-34be436495c6","html_url":"https://github.com/feldim2425/AdventOfCode19","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/feldim2425%2FAdventOfCode19","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feldim2425%2FAdventOfCode19/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feldim2425%2FAdventOfCode19/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feldim2425%2FAdventOfCode19/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feldim2425","download_url":"https://codeload.github.com/feldim2425/AdventOfCode19/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244994250,"owners_count":20544125,"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","advent-of-code","advent-of-code-2019","rust"],"created_at":"2024-10-14T07:09:27.728Z","updated_at":"2025-10-18T09:04:53.584Z","avatar_url":"https://github.com/feldim2425.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code \u003c 2019 \u003e\n\n[![Advent of Code](https://img.shields.io/badge/Day-14-blue?style=for-the-badge)](https://adventofcode.com/2019/) [![Rust](https://img.shields.io/badge/Language-Rust-orange?style=for-the-badge\u0026logo=rust)](https://www.rust-lang.org) [![Join Trojaners Discord](https://img.shields.io/badge/Discord-Trojaner's%20Discord-blue?style=for-the-badge\u0026logo=Discord)](https://discord.gg/qhHm8rM)\n\nNot much to say here just go to the [AdventOfCode 2019 Website](https://adventofcode.com/2019/) and check out the puzzles. There is a new one each day that you have to solve with programming and get points.\n\nI choose to use [Rust](https://www.rust-lang.org). Not because it's my favorite language (I have none), or that it is very difficult or anything challanging in general, but it's a language I want to learn for a long time, and finally found a reason to do so.\n\n\n## Testing out my code\nFirst run ``cargo update`` to install the dependencies.\n\nAfter installing the dependencies you can simply run ``cargo run --bin dayXX`` (Replacing XX with a number from 1-25).\nYou can also just build the binary with ``cargo build --bin dayXX``, the built binary is stored in ``target/debug/dayXX``\n\nThe debug binaries are a bit slow sometimes. You can add ``--release`` to build/run the optimized version. If you build a release binary it will be stored in ``target/release/dayXX``.\n\nOn systems that support the bash syntax (Linux, MacOS, Linux System for Windows, git bash, ...) you can also run the ``run_all_days.sh`` shell script. The script will build all days (with the release target) and run them.\n\n## Disclaimer\nThe solutions here are implemented me, they might not be the best solution possible.\n\nIf I get stuck on a puzzle I will look in other solutions, but I will still implement them myself after I understood the concept.\n\nAfter I implemented my version I will also try and optimize it even with inspiration from other solution, but the same rule applies:\nI will implement it myself when I can understand, how and why that optimization works, otherwise I won't use it.\n\nI will also mark solutions / optimizations inspired by other ideas.\n\n## Other solutions\n+ Trojaner's [AdventofCode](https://github.com/TrojanerHD/AdventofCode) in JavaScript / NodeJS\n+ LeMoonStar's [AdventOfCode2019Solutions](https://github.com/LeMoonStar/AdventOfCode2019Solutions) in GoLang\n+ DCDragonCoder's [AdventOfCode2019](https://github.com/DragonCoder01/AdventOfCode2019) in C++\n+ Hax's [advent-of-code](https://github.com/Schlauer-Hax/advent-of-code) in Java\n+ derNiklaas' [Advent-of-Code-2019](https://github.com/derNiklaas/Advent-of-Code-2019) in Java\n+ networkException's [AdventOfCode](https://github.com/dejakobniklas/AdventOfCode) in Java\n+ derKaländer's [AdventOfCode](https://github.com/derkalaender/AdventOfCode) in Kotlin\n+ Daan Breur's [AdventOfCode2019](https://github.com/daanbreur/AdventofCode2019) in Javascript / NodeJS\n+ 1Turtle's (aka. Sammy) [AdventOfCode-for-Computercraft](https://github.com/1Turtle/AdventOfCode-for-Computercraft) in Lua / Minecraft ComputerCraft Mod\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeldim2425%2Fadventofcode19","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeldim2425%2Fadventofcode19","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeldim2425%2Fadventofcode19/lists"}