Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suve/advent-of-code
Advent of Code solutions
https://github.com/suve/advent-of-code
advent-of-code adventofcode aoc2017 aoc2018 aoc2019 aoc2020 aoc2021 aoc2022
Last synced: about 1 month ago
JSON representation
Advent of Code solutions
- Host: GitHub
- URL: https://github.com/suve/advent-of-code
- Owner: suve
- License: other
- Created: 2017-12-05T17:30:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-11T10:59:25.000Z (about 1 year ago)
- Last Synced: 2024-05-02T05:31:20.823Z (8 months ago)
- Topics: advent-of-code, adventofcode, aoc2017, aoc2018, aoc2019, aoc2020, aoc2021, aoc2022
- Language: C
- Homepage:
- Size: 801 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# advent-of-code
Solutions for [Advent of Code](https://adventofcode.com/) puzzles.
Written in several different languages, based (mostly) on what I felt like using that day
and (partly) on what I thought was the best tool for solving a particular puzzle.**NOTE:** Some of the solutions are of rather poor quality. Basically, as soon as I get the right answer,
I drop the code and don't spend any more time on it. As such, some of the stuff you see here might quite literally
be broken, as in "it worked with my input" – but might fail with yours.## Solutions
| Day | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 |
| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| **1** | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2023/day01/trebuchet.sh) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2022/day01/calories.sh) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2021/day01/sonar.sh) | [![SurgeScript](https://github.com/suve/advent-of-code/raw/master/.readme/ss.png)](2020/day01/expenses1.ss) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2019/day01/fuel.sh) | [![Java](https://github.com/suve/advent-of-code/raw/master/.readme/java.png)](2018/day01/freq.java) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day01/captcha.sh) |
| **1½** | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2023/day01/spelled-out.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2022/day01/calories.sh) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2021/day01/triple-sonar.sh) | [![SurgeScript](https://github.com/suve/advent-of-code/raw/master/.readme/ss.png)](2020/day01/expenses2.ss) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2019/day01/more-fuel.sh) | [![Java](https://github.com/suve/advent-of-code/raw/master/.readme/java.png)](2018/day01/freq2.java) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day01/captcha.sh) |
| **2** | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2023/day02/cubes.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2022/day02/rock-paper-scissors.sh) | [![AWK](https://github.com/suve/advent-of-code/raw/master/.readme/awk.png)](2021/day02/submarine.awk) | [![AWK](https://github.com/suve/advent-of-code/raw/master/.readme/awk.png)](2020/day02/passwords.awk) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day02/intcode.py) | [![Java](https://github.com/suve/advent-of-code/raw/master/.readme/java.png)](2018/day02/checksum.java) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day02/part1.sh) |
| **2½** | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2023/day02/cubes.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2022/day02/rock-paper-scissors.sh) | [![AWK](https://github.com/suve/advent-of-code/raw/master/.readme/awk.png)](2021/day02/submarine.awk) | [![AWK](https://github.com/suve/advent-of-code/raw/master/.readme/awk.png)](2020/day02/passwords2.awk) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day02/intcode2.py) | [![Java](https://github.com/suve/advent-of-code/raw/master/.readme/java.png)](2018/day02/findids.java) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day02/part2.sh) |
| **3** | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2023/day03/engine.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day03/rucksacks.c) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2021/day03/power.sh) | [![AWK](https://github.com/suve/advent-of-code/raw/master/.readme/awk.png)](2020/day03/trees.awk) | [![Go](https://github.com/suve/advent-of-code/raw/master/.readme/go.png)](2019/day03/wires.go) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day03/fabric.c) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day03/spiral-dist.sh) |
| **3½** | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2023/day03/engine.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day03/rucksacks.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day03/oxygen.php) | [![AWK](https://github.com/suve/advent-of-code/raw/master/.readme/awk.png)](2020/day03/trees.awk) | [![Go](https://github.com/suve/advent-of-code/raw/master/.readme/go.png)](2019/day03/wires.go) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day03/fabric.c) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day03/spiral-write.sh) |
| **4** | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2023/day04/scratchcards.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day04/cleanup.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day04/bingo.rs) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2020/day04/passports.py) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2019/day04/password.sh) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2018/day04/strategy.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day04/checkpass.sh) |
| **4½** | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2023/day04/scratchcards.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day04/cleanup.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day04/bingo.rs) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2020/day04/valid-passports.py) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2019/day04/password.sh) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2018/day04/strategy.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day04/checkpass.sh) |
| **5** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day05/cranes.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day05/vents.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2020/day05/boarding-pass.sh) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day05/intcode3.py) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2018/day05/polymer.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day05/jump.sh) |
| **5½** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day05/cranes.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day05/vents.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2020/day05/boarding-pass.sh) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day05/intcode3.py) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2018/day05/polymer.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2017/day05/jump.sh) |
| **6** | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2023/day06/race.rs) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day06/packmark.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day06/lanternfish.rs) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2020/day06/customs.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2019/day06/orbits.yuk) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day06/flood.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day06/realloc.yuk) |
| **6½** | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2023/day06/race.rs) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day06/packmark.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day06/lanternfish.rs) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2020/day06/customs.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2019/day06/orbits.yuk) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day06/flood.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day06/realloc.yuk) |
| **7** | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2023/day07/cards.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day07/files.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day07/crabs.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day07/bags.php) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day07/intcode.py) | [![C♯](https://github.com/suve/advent-of-code/raw/master/.readme/cs.png)](2018/day07/lotsa-steps.cs) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day07/tower.pas) |
| **7½** | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2023/day07/cards.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day07/files.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day07/crabs.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day07/bags.php) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day07/intcode-feedback.py) | [![C♯](https://github.com/suve/advent-of-code/raw/master/.readme/cs.png)](2018/day07/timed-steps.cs) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day07/tower.pas) |
| **8** | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day08/trees.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day08/easy-digits.php) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day08/console.rs) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day08/image-checksum.py) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2018/day08/tree.php) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day08/cpu.yuk) |
| **8½** | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day08/trees.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day08/decoder.php) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2020/day08/part2.sh) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day08/image-decode.py) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2018/day08/tree.php) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day08/cpu.yuk) |
| **9** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day09/rope.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day09/smoke.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day09/xmas.php) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day09/intcode.py) | [![JavaScript](https://github.com/suve/advent-of-code/raw/master/.readme/js.png)](2018/day09/marbles.js) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day09/stream.pas) |
| **9½** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day09/rope.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day09/smoke.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day09/xmas.php) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day09/intcode.py) | | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day09/stream.pas) |
| **10** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day10/crt.php) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day10/braces.rs) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2020/day10/jolts.sh) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2019/day10/asteroids.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day10/message-image.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day10/knot.c) |
| **10½** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day10/crt.php) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day10/braces.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day10/daisy-chain.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2019/day10/asteroids.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day10/message-image.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day10/knot2.c) |
| **11** | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2023/day11/galaxies.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day11/monke.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day11/octopi.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day11/seats.rs) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day11/intcode.py) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2018/day11/power.yuk) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day11/hex.yuk) |
| **11½** | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2023/day11/galaxies.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day11/monke.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day11/octopi.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day11/seats2.rs) | [![Python](https://github.com/suve/advent-of-code/raw/master/.readme/py.png)](2019/day11/intcode.py) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2018/day11/power.yuk) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day11/hex.yuk) |
| **12** | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2022/day12/climb.rs) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day12/caves.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2020/day12/coords.yuk) | [![Go](https://github.com/suve/advent-of-code/raw/master/.readme/go.png)](2019/day12/gravity.go) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2018/day12/plants.sh) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day12/pipes.pas) |
| **12½** | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2022/day12/climb.rs) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day12/caves.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2020/day12/waypoint.yuk) | | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2018/day12/ancient-plants.sh) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day12/pipes.pas) |
| **13** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day13/packets.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day13/fold.php) | [![JavaScript](https://github.com/suve/advent-of-code/raw/master/.readme/js.png)](2020/day13/buses.js) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2019/day13/runner.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day13/carts.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day13/firewall.yuk) |
| **13½** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day13/packets.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2021/day13/fold.php) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day13/timestamp.php) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day13/carts.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day13/firewall.yuk) |
| **14** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day14/I-dont-like-sand-its-coarse-and-rough-and-irritating-and-it-gets-everywhere.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day14/polymer.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day14/bitmask.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2019/day14/ore-to-fuel.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day14/recipes.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day14/knot-again.c) |
| **14½** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day14/I-dont-like-sand-its-coarse-and-rough-and-irritating-and-it-gets-everywhere.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day14/polypair.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day14/bitmask2.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2019/day14/ore-to-fuel.php) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day14/recipes.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day14/knot-again.c) |
| **15** | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2022/day15/beacons.php) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day15/risk.rs) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day15/numbers.rs) | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day15/generators.c) |
| **15½** | | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day15/risk.rs) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day15/numbers.rs) | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day15/generators.c) |
| **16** | | | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2021/day16/bits.pas) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day16/tickets.php) | [![Go](https://github.com/suve/advent-of-code/raw/master/.readme/go.png)](2019/day16/fft.go) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day16/opcodes.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day16/dance.yuk) |
| **16½** | | | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2021/day16/bits.pas) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day16/tickets.php) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day16/opcodes.c) | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2017/day16/dance.yuk) |
| **17** | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day17/trajectory.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day17/cubes3.rs) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day17/water-sdl.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2017/day17/spinlock.php) |
| **17½** | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day17/trajectory.c) | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day17/cubes4.rs) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day17/water-sdl.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2017/day17/spinlock2.php) |
| **18** | | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2022/day18/cubes.sh) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day18/addition.c) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day18/math.php) | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2018/day18/settlers.rs) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day18/duet.pas) |
| **18½** | | | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2021/day18/magnitude.sh) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day18/math.php) | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2018/day18/settlers2.rs) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day18/duet2.pas) |
| **19** | | | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day19/rules.php) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day19/iptr.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day19/tubes.c) |
| **19½** | | | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day19/rules.php) | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day19/tubes.c) |
| **20** | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day20/mixit.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day20/enhance.c) | | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day20/particles.c) |
| **20½** | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2022/day20/mixit.c) | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day20/enhance.c) | | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day20/particles2.c) |
| **21** | | | [![Awful](https://github.com/suve/advent-of-code/raw/master/.readme/yuk.png)](2021/day21/deterministic-dice.yuk) | | | | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day21/enhance.pas) |
| **21½** | | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2021/day21/dirac-dice.rs) | | | | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day21/enhance.pas) |
| **22** | | | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day22/kombat.php) | [![C++](https://github.com/suve/advent-of-code/raw/master/.readme/cpp.png)](2019/day22/cards.cpp) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day22/virus.c) |
| **22½** | | | | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2020/day22/rekombat.php) | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day22/virus2.c) |
| **23** | | | | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2020/day23/cups.pas) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2018/day23/nanobots.c) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2017/day23/coprocessor.pas) |
| **23½** | | | | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2020/day23/one-crab-million-cups.pas) | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day23/optimised.c) |
| **24** | | | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day24/tiles.rs) | [![Pascal](https://github.com/suve/advent-of-code/raw/master/.readme/pas.png)](2019/day24/bug-life.pas) | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day24/bridge.c) |
| **24½** | | | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2020/day24/tiles.rs) | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2017/day24/bridge.c) |
| **25** | | | [![C](https://github.com/suve/advent-of-code/raw/master/.readme/c.png)](2021/day25/cucumbers.c) | [![Bash](https://github.com/suve/advent-of-code/raw/master/.readme/sh.png)](2020/day25/handshake.sh) | | [![Rust](https://github.com/suve/advent-of-code/raw/master/.readme/rs.png)](2018/day25/constellations.rs) | [![PHP](https://github.com/suve/advent-of-code/raw/master/.readme/php.png)](2017/day25/turing-machine.php) |## Stats
| Language | Solutions | Percentage | Lines of code | Percentage |
| :---: | ---: | ---: | ---: | ---: |
| C | 61 | 24.8% | 4.7k | 27.9% |
| PHP | 55 | 22.4% | 3.1k | 18.2% |
| Rust | 31 | 12.6% | 2.8k | 16.6% |
| Bash | 31 | 12.6% | 1.2k | 7.1% |
| Awful | 17 | 6.9% | 1.1k | 6.3% |
| Pascal | 16 | 6.5% | 1.6k | 9.5% |
| Python | 14 | 5.7% | 1.2k | 7.0% |
| AWK | 6 | 2.4% | 103 | 0.6% |
| Go | 4 | 1.6% | 475 | 2.8% |
| Java | 4 | 1.6% | 139 | 0.8% |
| C♯ | 2 | 0.8% | 288 | 1.7% |
| JavaScript | 2 | 0.8% | 75 | 0.4% |
| SurgeScript | 2 | 0.8% | 74 | 0.4% |
| C++ | 1 | 0.4% | 87 | 0.5% |
| **Total** | 246 | — | 16.8k | — |