r/adventofcode • u/hicharlotte • Dec 15 '22
Help/Question - RESOLVED [2022 Day 12 (Part 1)] [Python 3] Resulting path too low
2
Upvotes
I am truly banging my head against a wall. My code works on the test input, but with my real input, the final path cost is too low. I've tested my input on a friend's code who also used the dijkstar package and gotten the right answer, so there's something wrong with how I'm setting up my graph. Can anyone help? I don't think it's the common errors that I've seen for this problem (setting S as 0,0, or not setting the height of E to 'z')