adventofcode/2021/day24/binconvert

12 lines
86 B
Plaintext
Raw Normal View History

2021-12-27 13:19:19 +00:00
inp w
add z w
mod z 2
div w 2
add y w
mod y 2
div w 2
add x w
mod x 2
div w 2
mod w 2