{"id":21900445,"url":"https://github.com/alexhedley/adventofcode2021","last_synced_at":"2026-05-10T09:52:20.143Z","repository":{"id":88314934,"uuid":"434157319","full_name":"AlexHedley/adventofcode2021","owner":"AlexHedley","description":"Advent Of Code 2021","archived":false,"fork":false,"pushed_at":"2023-12-03T10:07:27.000Z","size":186,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T09:52:47.315Z","etag":null,"topics":["advent-of-code","advent-of-code-2021","opencast-aoc-2021"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/2021/","language":"C#","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/AlexHedley.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}},"created_at":"2021-12-02T09:26:45.000Z","updated_at":"2022-01-09T09:49:50.000Z","dependencies_parsed_at":"2023-07-05T06:30:50.778Z","dependency_job_id":null,"html_url":"https://github.com/AlexHedley/adventofcode2021","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/AlexHedley%2Fadventofcode2021","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexHedley%2Fadventofcode2021/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexHedley%2Fadventofcode2021/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexHedley%2Fadventofcode2021/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexHedley","download_url":"https://codeload.github.com/AlexHedley/adventofcode2021/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244913004,"owners_count":20530769,"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-of-code","advent-of-code-2021","opencast-aoc-2021"],"created_at":"2024-11-28T15:08:11.612Z","updated_at":"2026-05-10T09:52:15.109Z","avatar_url":"https://github.com/AlexHedley.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎄 Advent of Code (2021) 🎄\n\n[Advent Of Code](https://adventofcode.com/) [2021](https://adventofcode.com/2021/)\n\n---\n\n![Haskell](https://img.shields.io/badge/Haskell-5e5086?style=for-the-badge\u0026logo=haskell\u0026logoColor=white)\n![C#](https://img.shields.io/badge/c%23-%23239120.svg?style=for-the-badge\u0026logo=c-sharp\u0026logoColor=white)\n\n## Ranking\n\nPrivate Leaderboard\n\n\u003c!-- 20-  84 **■°°■*°°°°° --\u003e\n\u003c!-- 18- 109 **■°°■*°°°°°°°°°°°°°■ --\u003e\n\u003c!-- 17- 134 **■°°■*°°°°°°°°°°°°°■■ --\u003e\n\u003c!-- 17- 144 **■■°■*°°°°°°°°°°°°°■■°° --\u003e\n\u003c!-- 17- 155 **■*°■*°°°°°°°°°°°°°■■°° --\u003e\n\u003c!-- 15- 181 * * ■ * ° ■ * ° ° ° ° ° ° ° ° ° ° ° ° ° ■ ■ ° ° ■ --\u003e\n\u003c!-- 15- 192 * * ■ * ° ■ * ■ ° ° ° ° ° ° ° ° ° ° ° ° ■ ■ ° ° ■ --\u003e\n\n```bash\n   |     |                   1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2\n   |     | 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5\n15 | 204 | * * ■ * ° ■ * ■ ■ ° ° ° ° ° ° ° ° ° ° ° ■ ■ ° ° ■ | 15\n```\n\nKey: * Both | ■ One | ° None |\n\n| Silver ■ | Gold * |\n| - | - |\n| 7 | 4 |\n\n## Solutions\n\n- [Day 1](day01/README.md)\n- [Day 2](day02/README.md)\n- [Day 3](day03/README.md)\n- [Day 4](day04/README.md)\n\u003c!-- - [Day 5](day05/README.md) --\u003e\n- [Day 6](day06/README.md)\n- [Day 7](day07/README.md)\n- [Day 8](day08/README.md)\n- [Day 9](day09/README.md)\n\u003c!-- - [Day 10](day10/README.md) --\u003e\n\u003c!-- - [Day 11](day11/README.md) --\u003e\n\u003c!-- - [Day 12](day12/README.md) --\u003e\n\u003c!-- - [Day 13](day13/README.md) --\u003e\n\u003c!-- - [Day 14](day14/README.md) --\u003e\n\u003c!-- - [Day 15](day15/README.md) --\u003e\n\u003c!-- - [Day 16](day16/README.md) --\u003e\n\u003c!-- - [Day 17](day17/README.md) --\u003e\n\u003c!-- - [Day 18](day18/README.md) --\u003e\n\u003c!-- - [Day 19](day19/README.md) --\u003e\n\u003c!-- - [Day 20](day20/README.md) --\u003e\n- [Day 21](day21/README.md)\n- [Day 22](day22/README.md)\n\u003c!-- - [Day 23](day23/README.md) --\u003e\n\u003c!-- - [Day 24](day24/README.md) --\u003e\n- [Day 25](day25/README.md)\n\n\u003c!-- [![For: Advent Of Code](https://img.shields.io/badge/for-advent_of_code-green.svg)](https://adventofcode.com/) --\u003e\n\u003c!-- [![License: MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)  --\u003e\n\n\u003c!-- https://github.com/marketplace/actions/aoc-badges --\u003e\n\u003c!-- ![](https://img.shields.io/badge/day%20📅-6-blue) --\u003e\n\u003c!-- ![](https://img.shields.io/badge/stars%20⭐-12-yellow) --\u003e\n\u003c!-- ![](https://img.shields.io/badge/days%20completed-6-red) --\u003e\n\nThis repo contains my solutions to the [Advent of Code 2021](https://adventofcode.com/2021) using primarily [Haskell](https://www.haskell.org).\n\nThe code will likely be bad. :p\n\n## Setup\n\nSee [WIKI](https://github.com/AlexHedley/adventofcode2021/wiki) for setup instructions for [Haskell](https://www.haskell.org).\n\n## Running Solutions/Tests\n\nAny tests I write will likely just be asserts in each solution file.\n\nHow to run the solution file for each day depends on the language.\n\n### Haskell\n\n`cabal build`\n\n`ghci`\n\nPrelude\u003e `:load app/Main.hs`\n\nor\n\n`ghci app/Main.hs`\n\nOr if you have dependencies\n\n`cabal repl`\n\nThen run\n\n```bash\n*Main\u003e main\n```\n\n### C#\n\nAny C# scripts will require [dotnet-script](https://github.com/filipw/dotnet-script).\n\nFor C# solutions `dotnet script dayXX/solution.csx`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexhedley%2Fadventofcode2021","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexhedley%2Fadventofcode2021","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexhedley%2Fadventofcode2021/lists"}