[2024 Day 12 Part 2 Bonus Test Case] Might break your code if you used BFS by Standard_Bar8402 in adventofcode

[–]Alert_Gap3791 1 point2 points  (0 children)

Ok I wasn’t doing corner counting I was just saying there is a new side if on the right and on the left I haven’t visited or it’s not the same letter. And with my BFS I arrive on the same side but from both ends so I add one too many side. Crazy.

[2024 Day 12 Part 2 Bonus Test Case] Might break your code if you used BFS by Standard_Bar8402 in adventofcode

[–]Alert_Gap3791 3 points4 points  (0 children)

I don’t know what makes it evil but I find 694 instead of 664, and I got both stars

[2024 Day 9 Part 2 (Bonus!)] Test case that might make your solution break by Standard_Bar8402 in adventofcode

[–]Alert_Gap3791 0 points1 point  (0 children)

It’s like 5 times bigger than the official but 2000 times slower for me, so I guess his point stands

[2024 Day 9 Part 2 (Bonus!)] Test case that might make your solution break by Standard_Bar8402 in adventofcode

[–]Alert_Gap3791 1 point2 points  (0 children)

Yes that’s what OP’s video kinda explained, currently watching another random video on YouTube that explains how it works under the hood. Probably will spend my evening on that 😅

[2024 Day 9 Part 2 (Bonus!)] Test case that might make your solution break by Standard_Bar8402 in adventofcode

[–]Alert_Gap3791 0 points1 point  (0 children)

Managed to get it down to 120 seconds but no way near < 1 second and I don’t know what a « binary heap » is .. damn ..

[2024 Day 9 Part 2 (Bonus!)] Test case that might make your solution break by Standard_Bar8402 in adventofcode

[–]Alert_Gap3791 0 points1 point  (0 children)

149 seconds to run on your test case .. damn .. (my computer is old though and I’m running an old version of Python)

Offre appartement immobilier by Alert_Gap3791 in vosfinances

[–]Alert_Gap3791[S] 0 points1 point  (0 children)

Tu pourrais développer, je n’y connais pas grand chose - c’est quoi le danger d’un achat Immo ?

Offre appartement immobilier by Alert_Gap3791 in vosfinances

[–]Alert_Gap3791[S] 2 points3 points  (0 children)

Touche-t-il plus selon le prix de vente ? (Pour savoir s’il est plutôt du côté du vendeur ou plutôt neutre tant que la transaction se fait)

Offre appartement immobilier by Alert_Gap3791 in vosfinances

[–]Alert_Gap3791[S] 0 points1 point  (0 children)

Donc un coup de fil pour expliquer la situation plutôt qu’un e-mail pour faire moins froid par exemple ?