https://github.com/phillbush/aoc
solutions for advent of code in awk
https://github.com/phillbush/aoc
advent-of-code aoc2015 aoc2016 aoc2019 aoc2020 aoc2021 awk
Last synced: about 1 month ago
JSON representation
solutions for advent of code in awk
- Host: GitHub
- URL: https://github.com/phillbush/aoc
- Owner: phillbush
- Created: 2020-12-01T23:33:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T20:55:14.000Z (over 3 years ago)
- Last Synced: 2025-01-22T19:16:25.204Z (about 1 year ago)
- Topics: advent-of-code, aoc2015, aoc2016, aoc2019, aoc2020, aoc2021, awk
- Language: Awk
- Homepage:
- Size: 428 KB
- Stars: 23
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
aoc:
solutions for aoc in awk
Each directory contains the daily solutions for the yearly aoc event.
The solution for part 1 of day 01 puzzle from 2019 is {2019/day01a}.
The solution for part 2 of day 03 puzzle from 2020 is {2020/day03b}.
The input for day 05 puzzle from 2019 is {2019/day05.in}.
And so on.
Each directory contains a README file describing each puzzle and
providing the expected output for each puzzle, when run via time(1)
and given its respective input. Most solutions were run on OpenBSD
awk(1); but some of them, for performance reasons, were run on GNU
gawk(1).
Problems involving md5 (2015/day04* and 2016/day05*) are ignored.
If you want md5 implemented in awk for the purposes of the Advent
of Code, check [1] and [2].
[1]: https://kaworu.ch/blog/2017/05/23/implementing-md5-in-AWK/
[2]: https://github.com/kAworu/adventofcode-2015
See also the following aoc solutions in awk by other people:
• https://github.com/kAworu/adventofcode-2015
• https://github.com/patsie75/aoc
• https://github.com/izabera/aoc2020
• https://github.com/bewuethr/advent-of-code/tree/master/2016
• https://github.com/bfdill/advent_of_code
• https://github.com/juntuu/advent_of_code_2020
• https://git.sr.ht/~ft/aoc