PPKFS / advent-of-golf-2022

Golfed Python code for Advent of Code 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Golf 2022

Code golf solutions for Advent of Code 2022

This repo aims to serve as a central repository of golfed (i.e. as short as possible solutions) Advent of Code 2022 solutions.

Submitting solutions

To submit a solution for your language, just submit a pull request. If your language does not yet have a folder, feel free to make one! Please try to define rules that are as similar to those of Python or Rust as possible:

  • reading input should be part of the runner, not the solutions;
  • any form of expression allowed by the language can be extracted via a function;
  • Add a README.md that explains the rules to (aim to) adhere to with regards to what to count towards the character count, the input method, etc.

When adding a solution, please do not delete previous solutions; prefer shadowing them, or, if the language does not allow that, renaming the previous solution (e.g. to the hash of its original commit)

Solution format

Solution format will vary by language. See [language name]/README.md for information for your language.

About

Golfed Python code for Advent of Code 2022


Languages

Language:Python 44.0%Language:M4 19.7%Language:Rust 14.4%Language:Shell 6.5%Language:C 6.2%Language:Ruby 5.6%Language:Clojure 2.6%Language:Awk 1.0%