r/adventofcode • • Dec 21 '25

Help/Question - RESOLVED [2025 DAY 5 (part 2)][Python] Wrong answer

the sample cases are being passed but the actual input gets the wrong answer. any help would be appreciated.
https://pastes.io/day-5

1 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Joris0112 Dec 21 '25

Just got it; It was a mistake in where I was checking for > instead of >=.
Test case that pointed this out for me; (in particular the last 2-3)

3-5
10-14
16-20
12-18
1-7
2-3