From 06eaaf80332ca3b9caff1fbbe1cd7fbe58cea55c Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Fri, 12 Dec 2025 07:48:12 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=85=202025=20Day=2012=20Complete!=20?= =?UTF-8?q?=F0=9F=8E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2025/day12/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/2025/day12/main.go b/2025/day12/main.go index a765223..37eb3e7 100644 --- a/2025/day12/main.go +++ b/2025/day12/main.go @@ -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) }