aboutsummaryrefslogtreecommitdiff
path: root/2021/16/second.go
blob: 2669af7ebe83b71e1381551cfcf4dcc292f2fbe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"bufio"
	"fmt"
	"os"

	"git.adyxax.org/aoc/2021/16/bits"
)

func main() {
	scanner := bits.NewScanner(bufio.NewReader(os.Stdin))
	b := scanner.Scan()
	fmt.Println(b)
	fmt.Println(b.Value)
}