aboutsummaryrefslogtreecommitdiff
path: root/2021
diff options
context:
space:
mode:
Diffstat (limited to '2021')
-rw-r--r--2021/10/puzzle-2.sed4
1 files changed, 2 insertions, 2 deletions
diff --git a/2021/10/puzzle-2.sed b/2021/10/puzzle-2.sed
index 887386c..2265284 100644
--- a/2021/10/puzzle-2.sed
+++ b/2021/10/puzzle-2.sed
@@ -14,5 +14,5 @@ s/\([(\[{<]*\){$/s = s * 5 + 3;\1/
s/\([(\[{<]*\)<$/s = s * 5 + 4;\1/
t loop
-s/^/s = 0;/
-s/$/s/
+is = 0;
+as