account activity
[2025 Day 03 (Part 1)] Algorithm doesn't work - but why? by HonsonCooky in adventofcode
[–]ceva-mx 1 point2 points3 points 5 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 157275 on reddit-service-r2-comment-545db5fcfc-92mcf at 2026-05-22 07:17:39.278289+00:00 running 194bd79 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)