Source: Packet Scanners
Part 1: Multiple layers are defined with rules of the form:
- {index}: {depth}
Each layer will start at position 0, then once per tick will advance towards depth. Once it hits
depth-1
, it will return to position 0, taking2*depth-1
per full cycle.
Calculate the sum of
index * depth
for any scanners that are at position0
when you pass through them given an initial starting time.