{"id":16246606,"url":"https://github.com/punker76/advent-of-code-2021","last_synced_at":"2026-02-12T17:01:30.746Z","repository":{"id":148241214,"uuid":"433772446","full_name":"punker76/advent-of-code-2021","owner":"punker76","description":"My™ Advent of Code 2021 solutions in C# and .NET 6","archived":false,"fork":false,"pushed_at":"2022-12-14T12:04:46.000Z","size":107,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-18T01:35:26.890Z","etag":null,"topics":["advent-of-code","advent-of-code-2021","csharp","net6"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punker76.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-12-01T09:59:47.000Z","updated_at":"2021-12-15T20:04:04.000Z","dependencies_parsed_at":"2023-05-19T12:30:25.165Z","dependency_job_id":null,"html_url":"https://github.com/punker76/advent-of-code-2021","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"eduherminio/AdventOfCode.Template","purl":"pkg:github/punker76/advent-of-code-2021","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fadvent-of-code-2021","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fadvent-of-code-2021/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fadvent-of-code-2021/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fadvent-of-code-2021/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punker76","download_url":"https://codeload.github.com/punker76/advent-of-code-2021/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punker76%2Fadvent-of-code-2021/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29373837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-2021","csharp","net6"],"created_at":"2024-10-10T14:31:55.880Z","updated_at":"2026-02-12T17:01:30.727Z","avatar_url":"https://github.com/punker76.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdventOfCode 2021\n\n![CI](https://github.com/eduherminio/AdventOfCode.Template/workflows/CI/badge.svg)\n\nAdvent of Code template based on [AoCHelper](https://github.com/eduherminio/AoCHelper) project.\n\nIt allows you to focus on solving AoC puzzles while providing you with some performance stats.  \n\nProblem example:\n\n```csharp\nusing AoCHelper;\nusing System.Threading.Tasks;\n\nnamespace AdventOfCode\n{\n    public class Day_01 : BaseDay\n    {\n        public override ValueTask\u003cstring\u003e Solve_1() =\u003e new(\"Solution 1\");\n\n        public override ValueTask\u003cstring\u003e Solve_2() =\u003e new(\"Solution 2\");\n    }\n}\n```\n\nOutput example:\n\n![aochelper](https://user-images.githubusercontent.com/11148519/142051856-16d9d5bf-885c-44cd-94ae-6f678bcbc04f.gif)\n\n## Basic usage\n\n- Create one class per advent day, following `DayXX` or `Day_XX` naming convention and implementing `AoCHelper.BaseDay`.\n- Place input files under `Inputs/` dir, following `XX.txt` convention.\n- Read the input content from `InputFilePath` and solve the puzzle by implementing `Solve_1()` and `Solve_2()`!\n\n**By default, only your last problem will be solved when running the project**. You can change that by behavior by modifying `Program.cs`.\n\nInvoking **different methods**:\n\n- `Solver.SolveAll();` → solves all the days.\n\n- `Solver.SolveLast();` → solves only the last day.\n\n- `Solver.Solve\u003cDay_XX\u003e();` → solves only day `XX`.\n\n- `Solver.Solve(new uint[] { XX, YY });` → solves only days `XX` and `YY`.\n\n- `Solver.Solve(new [] { typeof(Day_XX), typeof(Day_YY) });` → same as above.\n\nProviding a **custom `SolverConfiguration`** instance to any of those methods:\n\n- `Solver.SolveLast(new SolverConfiguration() { ClearConsole = false } );` → solves only the last day providing a custom configuration.\n\n- `Solver.SolveAll(new SolverConfiguration() { ElapsedTimeFormatSpecifier = \"F3\" } );` → solves all the days providing a custom configuration.\n\n## Advanced usage\n\nCheck [AoCHelper README file](https://github.com/eduherminio/AoCHelper#advanced-usage) for detailed information about how to override the default file naming and location conventions of your problem classes and input files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunker76%2Fadvent-of-code-2021","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunker76%2Fadvent-of-code-2021","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunker76%2Fadvent-of-code-2021/lists"}