Expand description
Structs§
Functions§
- element 🔒
- Convert a single uppercase ASCII character to an index between 0 and 25.
- pair 🔒
- Convert two uppercase ASCII characters to an index between 0 and 675.
- parse
- Count the initial pairs and elements and parse each instruction into a
Rulestruct. - part1
- Apply 10 steps.
- part2
- Apply 40 steps.
- steps 🔒
- Simulate an arbitrary number of steps.