🎅 2025 Day 12 Complete! 🎄

This commit is contained in:
2025-12-12 07:48:12 -06:00
parent fac9e832da
commit 06eaaf8033

View File

@@ -24,12 +24,13 @@ func part1(inp []string) {
for j := range r[i].req {
size += r[i].req[j] * p[j].area
}
// Try just fitting them all into the are we have...
if area > size {
acc++
}
}
// Unexpectedly, that worked.
fmt.Println("Part 1")
fmt.Println(p)
fmt.Println(acc)
}