Module day03

Source
Expand description

ยงNo Matter How You Slice It

Brute force approach using bitmasks for efficiency. Assumes that no claim is wider than 65 inches.

Constantsยง

HEIGHT ๐Ÿ”’
WIDTH ๐Ÿ”’
Each square inch of fabric is stored in a single bit. The fabric is 1000 inches wide requiring sixteen u64.

Functionsยง

parse
part1
part2

Type Aliasesยง

Input ๐Ÿ”’