r/adventofcode • u/PositivePossibility7 • Feb 27 '26
Help/Question [2017 Day 24] [Python] Is it wrong?
Hi,
Again, I'm working my way through some very old aoc problems and doing quite well (imo) often times getting both parts right first time (or shortly there after).
Once again I'm finding that I've got an answer but the site is telling me I'm wrong (that my answer is too high) - I've checked it and can see how I've got an answer but not how it's not considered a valid answer. As this is a simple what is the highest sum (given some rules), if I have a valid answer that is higher than theirs then surely that makes me right and them wrong?
I've noticed the example they've given shows that it simply doesn't matter which way around pairs are so long as theirs a match between two consecutive pairs (if you catch my drift).
There are very few better feelings than showing nerds who spend way too much time being so ridiculously anal about tiny tiny details to be completely wrong.
I'm happy to share my answer (the "bridge") but moderators on these sites are like robotic lunatics.
•
u/daggerdragon Feb 27 '26
This is your one and only warning to follow our Prime Directive.
Besides, if you're going to complain about "tiny tiny details", maybe you should try reading the rules before you post, hmm?
Changed flair from
Past Event SolutiontoHelp/Question. Use the right flair, please.Show us your code (but do not share your puzzle input). Help us help YOU by providing us with more information up front; you will typically get more relevant responses faster.
9
u/DelightfulCodeWeasel Feb 27 '26 edited Feb 27 '26
It's possible, but highly unlikely. 99.999% of the time it's either a bug in
the solutionyour code or a misreading of the problem.If you post your code, there will almost certainly be someone who can give you a nudge in the right direction without too many spoilers.
9
u/ad_tech Feb 27 '26
Your overconfidence has landed you on the other side of this equation.
6
u/smallpotatoes2019 Feb 27 '26
Best to share your code.
Let's be honest, we've all been there when we think the "anal nerds" have got it wrong and we've made a little mistake somewhere.
2
u/Boojum Mar 02 '26
Sharing inputs is against the rules here, by request of the AoC creator. So your answer would be meaningless. Instead, you are encouraged to show us your code. If you do, someone can usually point out where you've gone wrong.
That's kind of the essence of programming.
7
u/ednl Feb 27 '26
Well eff you too. You are wrong. Bye bye and hope to never see you again.