advent-of-code-2021

Solutions to the Advent of Code 2021 https://adventofcode.com/2021

Advent of code 2021

Solutions to the advent of code 2021 in a variety of languages/tools

jq

Pipe the input data into relevant jq/part-* file e.g.

cat input.txt | jq/part-1

OPA/Rego

Evaluate the part using opa eval e.g.:

opa eval part_1 --package aoc -d rego/policy.rego -f values -i input.txt

Crystal

Evaluate each part using crystal run e.g.:

cat input.txt | crystal run crystal/part-1.cr
Repository

advent-of-code-2021

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 2 years ago
  • December 1, 2021
License

MIT License

Links
Synced at

Fri, 22 Nov 2024 16:33:20 GMT

Languages