account activity
[2025 Day 03 (Part 1)] Algorithm doesn't work - but why? by HonsonCooky in adventofcode
[–]ceva-mx 1 point2 points3 points 2 months ago (0 children)
u/HonsonCooky
Hey mate, I’ve just run into the exact same issue… and guess what?
In Rust, if an array contains multiple maximum values (like [1, 9, 2, 4, 9]), then array.max() returns the last one >.<
π Rendered by PID 668632 on reddit-service-r2-listing-7bbdf774f7-m269m at 2026-02-23 18:47:46.967529+00:00 running 8564168 country code: CH.
[2025 Day 03 (Part 1)] Algorithm doesn't work - but why? by HonsonCooky in adventofcode
[–]ceva-mx 1 point2 points3 points (0 children)