2025 Day 5 Part 1
This commit is contained in:
parent
79050036a1
commit
91111e567c
2 changed files with 17 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
Lines ← ⊜□ ⊸≠ @\n
|
||||
Sections ← ⊜□ ¬⊸⦷ "\n\n"
|
||||
|
|
|
|||
15
2025/day05.ua
Normal file
15
2025/day05.ua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
~ "aoc.ua" ~ Lines Sections
|
||||
|
||||
Sections &fras "input/day05.txt"
|
||||
⍚Lines
|
||||
°[□⊙□⊙]
|
||||
|
||||
≡(⊂∩⋕°$"_-_")
|
||||
Ranges ←
|
||||
|
||||
≡⋕
|
||||
Items ←
|
||||
|
||||
Contains ← ×⊃(≤⊙⊢|≥⊙⊣)
|
||||
|
||||
/+ ≡(>₀/+) ⊞Contains Items Ranges
|
||||
Loading…
Reference in a new issue