diff options
author | elioat <elioat@tilde.institute> | 2022-12-01 11:57:28 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-12-01 11:57:28 -0500 |
commit | 55071038ef6d6587693248ea0669eebe551e70e3 (patch) | |
tree | 5d3681ed527e5f5f782412abf6c0b865f15b921a /rnd/aoc01_partial.apl | |
parent | 1dbcd48798d5e458ca97ce09800841723917a1e2 (diff) | |
download | december-2022-55071038ef6d6587693248ea0669eebe551e70e3.tar.gz |
More notes
Diffstat (limited to 'rnd/aoc01_partial.apl')
-rw-r--r-- | rnd/aoc01_partial.apl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rnd/aoc01_partial.apl b/rnd/aoc01_partial.apl index 895a6ba..67d9984 100644 --- a/rnd/aoc01_partial.apl +++ b/rnd/aoc01_partial.apl @@ -1,7 +1,11 @@ -⍝ look, I told myself I *wouldn't* do AoC 2022, +⍝ Look, I told myself I *wouldn't* do AoC 2022, ⍝ but work slack was too goddamned inticing, so ⍝ I'm not *really* doing it, but maybe some notes? -⍝ this is the 2nd part for day 1 -- this sorts a + +⍝ I know nothing about file i/o in APL, so I'm just +⍝ ignoring that bit of the problem completely. + +⍝ This is the 2nd part for day 1 -- this sorts a ⍝ vector in descending order and sums the 1st 3 results vec ← 40 60 20 110 70 60 40 90 60 80 |