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

1
2025/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/input

1
2025/aoc.ua Normal file
View file

@ -0,0 +1 @@
Lines ← ⊜□ ⊸≠ @\n

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

View file

@ -1,4 +1,8 @@
I like solving the [Advent of Code](https://adventofcode.com/) challenges every year, and these are my solutions. I use this as a way to learn a new language or try new techniques in one I'm already using, so my code isn't likely to be idiomatic or good. I don't expect this to be useful to anyone, but I'm having fun! :D
I like solving the [Advent of Code](https://adventofcode.com/) challenges every
year, and these are my solutions. I use this as a way to learn a new language
or try new techniques in one I'm already using, so my code isn't likely to be
idiomatic or good. I don't expect this to be useful to anyone, but I'm having
fun! 😄
- 2015: TODO
- 2016: TODO
@ -10,10 +14,11 @@ I like solving the [Advent of Code](https://adventofcode.com/) challenges every
- 2022: Rust (Again! v1.65, 2021 edition)
- 2023: Nim
- 2024: Zig
- 2025: Uiua
Languages I'd like to use for the future or TODO years:
- Gleam
- Haskell
- Inko
- Koka
- Uiua (or other APL-like)