day13

package
v0.0.0-...-38c8f7e Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Part1

func Part1(in *Input) (int, error)

func Part2

func Part2(busIDs []*int) (t *big.Int, err error)

I wouldn't have known to use CRT if not for /r/adventofcode and discussion with friends.

Types

type Input

type Input struct {
	Earliest int
	BusIDs   []*int
}

func ParseInput

func ParseInput(in []string) (*Input, error)

Jump to

Keyboard shortcuts

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