modulepackage
0.0.0-20230826031213-3a8fa55f0bc8
Repository: https://github.com/janreggie/aoc.git
Documentation: pkg.go.dev
# README
= Advent of Code
Nothing much to say, really.
== Syntax
./AdventOfCode [profiling flags] -year 2015 -day 4 -input file
will solve the Day 4 problem of Year 2015
using file
as the input file.
This will print out the answer as output.
=== Profiling flags
Profiling flags are as follows.
Only one of them may be active at a time:
-cpuprof
: writes CPU profile tocpu.pprof
-memprof
: writes memory profile tomem.pprof
-trace
: writes execution trace totrace.out
== Program flow and structure
main.go
reads the input file
to a buffer bufio.Scanner
.
They are passed on to the "solver functions
".
== Completion
Please check their individual READMEs.
== License See link:LICENSE[].
# Packages
Package aoc2015 implements the solutions for Advent of Code 2015.
Package aoc2016 implements the solutions for Advent of Code 2016.
Package aoc2017 implements the solutions for Advent of Code 2017.
Package aoc2018 implements the solutions for Advent of Code 2018.
Package aoc2019 implements the solutions for Advent of Code 2019.
Package aoc2020 implements the solutions for Advent of Code 2020.