From 91111e567cab6de061980fedba2a9f807c1f6ced Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Sun, 14 Dec 2025 15:13:09 -0500 Subject: [PATCH] 2025 Day 5 Part 1 --- 2025/aoc.ua | 3 ++- 2025/day05.ua | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 2025/day05.ua diff --git a/2025/aoc.ua b/2025/aoc.ua index d94d4b8..33e04ee 100644 --- a/2025/aoc.ua +++ b/2025/aoc.ua @@ -1 +1,2 @@ -Lines ← ⊜□ ⊸≠ @\n +Lines ← ⊜□ ⊸≠ @\n +Sections ← ⊜□ ¬⊸⦷ "\n\n" diff --git a/2025/day05.ua b/2025/day05.ua new file mode 100644 index 0000000..0cfe937 --- /dev/null +++ b/2025/day05.ua @@ -0,0 +1,15 @@ +~ "aoc.ua" ~ Lines Sections + +Sections &fras "input/day05.txt" +⍚Lines +°[□⊙□⊙] + +≡(⊂∩⋕°$"_-_") +Ranges ← + +≡⋕ +Items ← + +Contains ← ×⊃(≤⊙⊢|≥⊙⊣) + +/+ ≡(>₀/+) ⊞Contains Items Ranges