This commit is contained in:
Gabriel Bizdoc 2025-12-14 01:53:04 +02:00
parent 0d12942dfe
commit c79d562490
No known key found for this signature in database
GPG Key ID: 3F0EDAECA5BE9ED9

View File

@ -15,6 +15,7 @@ func Part1(ctx aoc.Context) (int, error) {
if err != nil { if err != nil {
return 0, fmt.Errorf("day12: failed to parse input: %w", err) return 0, fmt.Errorf("day12: failed to parse input: %w", err)
} }
ctx.Println(input.String())
ares := make([]int, len(input.Shapes)) ares := make([]int, len(input.Shapes))
for i, shape := range input.Shapes { for i, shape := range input.Shapes {
@ -33,7 +34,7 @@ func Part1(ctx aoc.Context) (int, error) {
solution += 1 solution += 1
} }
} }
ctx.Println(input.String())
return solution, nil return solution, nil
} }