Day 25: Combo Breaker¶
Functions:
|
Transform the |
|
Deduce the loop size for |
|
Figure out the subject number. |
- transform(subject: int, loop_size: int) int [source]¶
Transform the
subject
inloop_size
steps of a hard-coded algorithm.- Requires
subject >= 0
loop_size >= 0
- Ensures
0 <= result < 20201227