about summary refs log tree commit diff
path: root/users/sterni/exercises/aoc/2022/01/1.bqn
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/exercises/aoc/2022/01/1.bqn')
-rw-r--r--users/sterni/exercises/aoc/2022/01/1.bqn6
1 files changed, 3 insertions, 3 deletions
diff --git a/users/sterni/exercises/aoc/2022/01/1.bqn b/users/sterni/exercises/aoc/2022/01/1.bqn
index f95851e0d93e..440efff41c65 100644
--- a/users/sterni/exercises/aoc/2022/01/1.bqn
+++ b/users/sterni/exercises/aoc/2022/01/1.bqn
@@ -1,7 +1,7 @@
 lib ← •Import •path∾"/../../lib.bqn"
 input ← lib.ReadDec¨¨ (<"") lib.SplitOn •FLines •path∾"/input"
 
-cpe ← +´¨ input
+a‿·‿b ← +`3↑∨+´¨ input
 
-•Out "day 01.1: "∾•Fmt ⌈´cpe
-•Out "day 01.2: "∾•Fmt +´3↑∨cpe
+•Out "day 01.1: "∾•Fmt a
+•Out "day 01.2: "∾•Fmt b