Watch
1
0
Fork
You've already forked advent-of-code
0

2025 Day 5 Part 1

This commit is contained in:
Jeremy Kaplan 2025-12-14 15:13:09 -05:00
commit 91111e567c
2 changed files with 17 additions and 1 deletions

View file

@ -1 +1,2 @@
Lines ← ⊜□ ⊸≠ @\n
Lines ← ⊜□ ⊸≠ @\n
Sections ← ⊜□ ¬⊸⦷ "\n\n"

15
2025/day05.ua Normal file
View file

@ -0,0 +1,15 @@
~ "aoc.ua" ~ Lines Sections
Sections &fras "input/day05.txt"
⍚Lines
°[□⊙□⊙]
≡(⊂∩⋕°$"_-_")
Ranges ←
≡⋕
Items ←
Contains ← ×⊃(≤⊙⊢|≥⊙⊣)
/+ ≡(>₀/+) ⊞Contains Items Ranges