Skip to contents

Day 3: Binary Diagnostic

Usage

read_day3(path)

power_consumption(dat)

rating(dat, type)

Source

<https://adventofcode.com/2021/day/3>

Arguments

path

file path

dat

dat

type

type