tvl-depot/users/sterni/exercises/aoc/2022/01/1.k
sterni 7e122fdcbc feat(sterni/aoc/2022): day01 solutions
Bonus solution in k as I got sniped by leah2.

Change-Id: I806f5b2ac1388159a427bb239bfb1bb7aeb329d7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7490
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-12-01 23:50:32 +00:00

2 lines
137 B
Text

/ a better approach is to use the downgraded list for both tasks, as demonstrated by leah2
(|/e),+/e@3#>e:(+/.'1_)'(&0=#'i)_i:0:"input"