{"id":34577179,"url":"https://github.com/erning/aoc-2025-in-c","last_synced_at":"2026-05-25T21:31:31.637Z","repository":{"id":328765417,"uuid":"1116538651","full_name":"erning/aoc-2025-in-c","owner":"erning","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-15T06:34:31.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-18T03:24:04.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/erning.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-15T02:56:38.000Z","updated_at":"2025-12-15T06:34:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/erning/aoc-2025-in-c","commit_stats":null,"previous_names":["erning/aoc-2025-in-c"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/erning/aoc-2025-in-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erning%2Faoc-2025-in-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erning%2Faoc-2025-in-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erning%2Faoc-2025-in-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erning%2Faoc-2025-in-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erning","download_url":"https://codeload.github.com/erning/aoc-2025-in-c/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erning%2Faoc-2025-in-c/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33494681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"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":[],"created_at":"2025-12-24T09:56:19.417Z","updated_at":"2026-05-25T21:31:31.631Z","avatar_url":"https://github.com/erning.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2025 - C23\n\nSolutions for [Advent of Code 2025](https://adventofcode.com/2025/) implemented in modern C (C23 standard).\n\n## Requirements\n\n- GCC 13+ (with C23/C2x support)\n- GNU Make\n\n## Build \u0026 Run\n\n```bash\n# Build\nmake\n\n# Run all days\nmake run\n\n# Run with example inputs\nmake example\n\n# Run specific days\n./build/aoc2025 1 5 10\n\n# Clean build\nmake clean\n```\n\n## Project Structure\n\n```\nc23/\n├── Makefile\n├── README.md\n├── inputs/\n│   ├── 01-example.txt\n│   ├── 01-input.txt\n│   └── ...\n└── src/\n    ├── common.h      # Common utilities and types\n    ├── common.c      # File I/O, string helpers\n    ├── days.h        # Day solver declarations\n    ├── main.c        # Entry point\n    ├── day01.c       # Day 1 solution\n    └── ...\n```\n\n## Puzzles Overview\n\n| Day | Title | Algorithm |\n|-----|-------|-----------|\n| 1 | Secret Entrance | Circular dial, modular arithmetic |\n| 2 | Gift Shop | Number pattern generation (doubled, repeated) |\n| 3 | Lobby | Greedy digit selection |\n| 4 | Printing Department | Grid neighbor counting, cascade removal |\n| 5 | Cafeteria | Range merging, interval queries |\n| 6 | Trash Compactor | Column-wise text parsing |\n| 7 | Laboratories | Beam simulation, timeline counting |\n| 8 | Playground | Union-Find, minimum spanning tree |\n| 9 | Movie Theater | Point-in-polygon, rectangle fitting |\n| 10 | Factory | Gaussian elimination (GF(2) and integer) |\n| 11 | Reactor | Graph path counting, memoized DFS |\n| 12 | Christmas Tree Farm | Polyomino fitting, backtracking |\n\n## Results\n\n| Day | Part 1 | Part 2 |\n|-----|--------|--------|\n| 1 | 1123 | 6695 |\n| 2 | 19386344315 | 34421651192 |\n| 3 | 16927 | 167384358365132 |\n| 4 | 1527 | 8690 |\n| 5 | 558 | 344813017450467 |\n| 6 | 5977759036837 | 9630000828442 |\n| 7 | 1516 | 1393669447690 |\n| 8 | 62186 | 8420405530 |\n| 9 | 4729332959 | 1474477524 |\n| 10 | 524 | 21696 |\n| 11 | 607 | 506264456238938 |\n| 12 | 599 | 0 |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferning%2Faoc-2025-in-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferning%2Faoc-2025-in-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferning%2Faoc-2025-in-c/lists"}