aoc2023

package module
v0.0.0-...-5a6d8b3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 7 Imported by: 0

README

AoC 2023

Advent of Code 2023 in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GCD

func GCD(a, b int64) int64

func LCM

func LCM(a, b int64, integers ...int64) int64

func Read

func Read(path string) string

func RemoveSpaces

func RemoveSpaces(input string) string

func Run

func Run(t *testing.T, i int, test Test)

func RunMany

func RunMany(t *testing.T, tests []Test)

func TrimSpaces

func TrimSpaces(input string) string

Types

type Test

type Test struct {
	Input    string
	Answer   any
	Solution func(input string) any
}

Directories

Path Synopsis
0
1
2
3
4
5
6
7
8
9

Jump to

Keyboard shortcuts

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