Low orbitStrings, min/maxOpened 1 Dec, 00:00
Day 1: Fairy Light Faults
The orbital workshop is strung with fairy lights for the season, and the night shift says some strands are flickering. Each line of your input is a strand, and each digit is a bulb's brightness from 0 to 9.
A strand's power is its brightest bulb minus its dimmest bulb. For example:
3817 → 8 − 1 = 7 5555 → 5 − 5 = 0 90210 → 9 − 0 = 9
The total power is 16.
What is the total power of all the strands in your input?