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

2025 Day 1 Part 1

This commit is contained in:
Jeremy Kaplan 2025-12-03 01:06:14 -05:00
commit b6727bcc98
4 changed files with 19 additions and 2 deletions

10
2025/day01.ua Normal file
View file

@ -0,0 +1,10 @@
~ "aoc.ua" ~ Lines
Input ← Lines &fras "input/day01.txt"
Dirs ← ≡°□ +⊃(¯=@L) (=@R) ⍚⊢ Input
Amts ← ⋕⍚(↘ 1) Input
× Dirs Amts
⬚50\(◿ 100 +)
/+ = 0