From 9fed61297a9766be4e5bd4c0a4461cfb176115c9 Mon Sep 17 00:00:00 2001 From: sterni Date: Sat, 3 Dec 2022 02:03:46 +0100 Subject: [PATCH] feat(sterni/aoc/2022): day02 k solution Uses the same idea as the BQN solution, but is very concise. Change-Id: I876208e5e86f28240f4a3384d16321fd92d077eb Reviewed-on: https://cl.tvl.fyi/c/depot/+/7499 Autosubmit: sterni Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/exercises/aoc/2022/02/2.k | 1 + 1 file changed, 1 insertion(+) create mode 100644 users/sterni/exercises/aoc/2022/02/2.k diff --git a/users/sterni/exercises/aoc/2022/02/2.k b/users/sterni/exercises/aoc/2022/02/2.k new file mode 100644 index 000000000..9b6d10058 --- /dev/null +++ b/users/sterni/exercises/aoc/2022/02/2.k @@ -0,0 +1 @@ ++/{{y+1+3*3!1+y-x}[x]'y,3!x+y-1}.'3!"ABCXYZ"?(0:"input")_'1