about summary refs log tree commit diff
path: root/users/sterni/exercises/aoc/2022/01/1.k
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/exercises/aoc/2022/01/1.k')
-rw-r--r--users/sterni/exercises/aoc/2022/01/1.k2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/sterni/exercises/aoc/2022/01/1.k b/users/sterni/exercises/aoc/2022/01/1.k
new file mode 100644
index 000000000000..295503905fb8
--- /dev/null
+++ b/users/sterni/exercises/aoc/2022/01/1.k
@@ -0,0 +1,2 @@
+ / 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"