Mac@programming.dev to Advent Of Code@programming.dev · 11 months ago[2023 Day #1] Massive Difficulty Increaseprogramming.devimagemessage-square25fedilinkarrow-up1141arrow-down16
arrow-up1135arrow-down1image[2023 Day #1] Massive Difficulty Increaseprogramming.devMac@programming.dev to Advent Of Code@programming.dev · 11 months agomessage-square25fedilink
minus-squareStrawberry@lemmy.blahaj.zonelinkfedilinkarrow-up2arrow-down1·11 months agoAs long as you replace any spelled out numbers from left to right it should work
minus-squarestifle867@programming.devlinkfedilinkarrow-up1·11 months ago2oneight - if you replace from left to right you get 21ight or 21. This doesn’t work for part 2 as the answer should br 28.
minus-squareStrawberry@lemmy.blahaj.zonelinkfedilinkarrow-up2arrow-down1·edit-211 months agoWe’re talking about just the first letter, so 2oneight —> 21neight —> 21n8ight
As long as you replace any spelled out numbers from left to right it should work
2oneight
- if you replace from left to right you get21ight
or21
. This doesn’t work for part 2 as the answer should br28
.We’re talking about just the first letter, so
2oneight
—>21neight
—>21n8ight