my solutions to advent of code
aoc advent-of-code

stuffers

aylac.top 9d34f87b 35c21e54

verified
Changed files
+1
2025
2
rust
src
+1
2025/2/rust/src/main.rs
···
let part_2_invalid = part_2_invalid;
let part_2 = input.iter().fold(0_u64, |acc, v| {
(v.start..=v.end).fold(acc, |acc, num| {
if num <= 10 {
return acc;
···
let part_2_invalid = part_2_invalid;
let part_2 = input.iter().fold(0_u64, |acc, v| {
+
// the ideal one would be iterating through all the invalid ones but who cares i was too exposed to it to want to implement it myself
(v.start..=v.end).fold(acc, |acc, num| {
if num <= 10 {
return acc;