aoc2020

module
v1.9.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2021 License: GPL-2.0, GPL-3.0

README

Advent of Code 2020 (Golang)

Build Status Go Report Card

This repo contains my solutions to Advent of Code, 2020.

Prerequisites

You will need go installed. Recommend installing brew and running brew install go.

Running the Solutions

Download, build, and install the solutions like so:

# Download, build, and install solutions from this repo
go get github.com/dds/aoc2020/...

# Run solution for day 1
day1

# Get input for day 20, wait up to 8h, and copy to clipboard if successful
aocinput 20 --timeout 8h --clipboard

# Watch the time count down until AoC 2022 Day 1, then display the input and stop.
watch -n 0.3 -e '! aocinput 1 -y 2022'

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL