repositorypackage
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[].