{"id":16803269,"url":"https://github.com/sjmulder/aoc","last_synced_at":"2025-03-23T15:31:23.668Z","repository":{"id":44454468,"uuid":"112733025","full_name":"sjmulder/aoc","owner":"sjmulder","description":"Advent of Code solutions","archived":true,"fork":false,"pushed_at":"2024-12-20T21:21:15.000Z","size":4229,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-20T06:44:53.327Z","etag":null,"topics":["advent-of-code","awk","c","c-sharp","kotlin"],"latest_commit_sha":null,"homepage":"","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/sjmulder.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":"2017-12-01T11:34:08.000Z","updated_at":"2024-12-20T21:22:41.000Z","dependencies_parsed_at":"2024-10-28T16:37:30.638Z","dependency_job_id":"5ebb5ff6-3655-442a-87fe-2cded6bb3cde","html_url":"https://github.com/sjmulder/aoc","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/sjmulder%2Faoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Faoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Faoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Faoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjmulder","download_url":"https://codeload.github.com/sjmulder/aoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122769,"owners_count":20564370,"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","awk","c","c-sharp","kotlin"],"created_at":"2024-10-13T09:42:11.276Z","updated_at":"2025-03-23T15:31:23.657Z","avatar_url":"https://github.com/sjmulder.png","language":"C","readme":"This repostiory has **moved** to:\n\nhttps://codeberg.org/sjmulder/aoc\n\nThe GitHub repository will be deleted in time.\n\nAdvent of Code\n==============\n\n[![Build Status](https://dev.azure.com/sjmulder/aoc/_apis/build/status/aoc?branchName=master)](https://dev.azure.com/sjmulder/aoc/_build/latest?definitionId=6\u0026branchName=master)\n\n[Advent of Code](https://www.adventofcode.com) solutions by myself (Sijmen).\n\nBuilding\n--------\nThere's a top-level Makefile to build and/or run all solutions. It\nrequires a BSD make. For Debian/Ubuntu/etc:\n\n    sudo apt install bmake\n\nThen from the top level:\n\n    bmake        # build\n    bmake run\n\nNote that not all languages and years are integrated into the make tree.\nThere are a bunch of project files for various tools scattered around,\nsuch as Visual C++ 6 projects, Makefiles targeting Turbo C and the odd\nRust project.\n\nBuild targets\n-------------\nIt's also possible to build/run just a single year or year/language.\nOften those have additional targets, e.g. `vis`:\n\n    cd 2023/c\n    bmake run\n    bmake bench  # benchmark with /usr/bin/time\n    bmake vis    # generate some visualisations with ffmpeg or dot\n\nTo run specific days or with other input files:\n\n    cd 2023/c\n    bmake run DAYS=day12 INPUT=../data/12-sample.txt\n    bmake run DAYS=day15 INPUT=/path/to/my/inputs.txt\n    bmake run DAYS=\"day12 day15\" INPUT.day12=... INPUT.day15=...\n\nInputs\n------\nWithout input overrides, the Makefiles expect inputs at\n`inputs/YYYY/DD-input.txt` from the repository root, e.g.\n`inputs/2023/15-input.txt`. Apart from some samples, no inputs are\nprovided in the repo as per Advent of Code guidelines. The `inputs`\nsubmodule referenced in this repository is private.\n\nBuild options\n-------------\nSince there are solutions in various languages this requires a selection\nof different build tools, runtimes, etc. The following flags can be\npassed to `make` to *disable* languages/tools that are enabled by\ndefault:\n\n * `WITH_DOTNET=0` for 'modern' .NET with `dotnet`\n * `WITH_MONO=0` for .NET 4 with Mono (`mcs`)\n * `WITH_CPP17=0` for code using C++17 features\n * `WITH_DOT=0` for visualisations using `dot` form Graphviz\n * `WITH_GOLF=0` for the code golf solutions (requiring old C standards)\n\nThe following flags *enable* languages that are disabled by default:\n\n * `WITH_BASIC=1` for `cbmbasic`\n\nFor example:\n\n    bmake run WITH_DOTNET=0 WITH_BASIC=1\n\nStandard build variables are mostly honored, e.g. `CC` and `CFLAGS`.\n\nScore card\n----------\n**2024**\n\n                         1---------2-----\n                1234567890123456789012345\n    C           ******************\n    JavaScript  **\n\n**2023**\n\n                         1---------2-----\n                1234567890123456789012345\n    C           ************************\n    C (DOS)     ** *  * *\n    C++                      *\n    C#          *\n    Python      ****          *         *\n    Kotlin      ****\n    manually                       2\n\n**2022**\n\n                         1---------2-----\n                1234567890123456789012345\n    C           *************************\n    C#          ***\n    AWK         ** *\n    Rust        *\n\n**2021**\n\n                         1---------2-----\n                1234567890123456789012345\n    C           ***********************1*\n    C++         ***\n    C#          **** ***    **\n    C64 BASIC   **              *\n    AWK          *                     1\n    Excel       **                     1\n    manually                          22\n    armv6 asm   **\n\n**2020**\n\n                         1---------2-----\n                1234567890123456789012345\n    C           *************************\n    C#           ** **   1\n    JavaScript                        *\n    C64 BASIC   *\n    awk          *1        **1\n    sh          *\n\n**2016**\n\n                         1---------2-----\n                1234567890123456789012345\n    C            1   *\n\n**2015**\n\n                         1---------2-----\n                1234567890123456789012345\n    C           ******************\n    C#                  *\n    awk                *\n    sh\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjmulder%2Faoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjmulder%2Faoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjmulder%2Faoc/lists"}