Skip to content

janreggie/aoc

Repository files navigation

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 to cpu.pprof

  • -memprof: writes memory profile to mem.pprof

  • -trace: writes execution trace to trace.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 LICENSE.

About

Solutions for the Advent of Code puzzles written in Go: https://adventofcode.com/

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages