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

dummy

aylac.top 6741f2bc 2c3e306b

verified
Changed files
+1 -5
2025
4
rust
src
+1 -5
2025/4/rust/src/main.rs
···
let mut i = size + 3;
for _ in 0..size {
for _ in 0..size {
-
bytes.extend(if warehouse.get(i).unwrap() == &1_u8 {
-
[1]
-
} else {
-
[0]
-
});
+
bytes.push(*warehouse.get(i).unwrap());
i += 1;
}
i += 2;