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.k3
1 files changed, 1 insertions, 2 deletions
diff --git a/users/sterni/exercises/aoc/2022/01/1.k b/users/sterni/exercises/aoc/2022/01/1.k
index 295503905fb8..42d64dfb6cc1 100644
--- a/users/sterni/exercises/aoc/2022/01/1.k
+++ b/users/sterni/exercises/aoc/2022/01/1.k
@@ -1,2 +1 @@
- / 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"
+(+\e@3#>e:(+/.'1_)'(&0=#'i)_i:0:"input")_1