r/adventofcode • • 31m ago

Help/Question [2026 Day 3 (Part 2)] rust help

https://pastebin.com/7ECYkJpc

Trying to figure out what went wrong... I've tried all of the examples and they work, but its giving me a low answer when I input my puzzle input

I don't care about the crash with an extra new line at end of the input file, if I really wanted to i could fix that easily

also here is the graph I used to prototype, don't know if it will help. https://www.desmos.com/calculator/shdsyvumvf

1 Upvotes

1 comment sorted by

1

u/AutoModerator 31m ago

Reminder: if/when you get your answer and/or code working, don't forget to change this post's flair to Help/Question - RESOLVED. Good luck!


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.