diff options
author | sterni <sternenseemann@systemli.org> | 2022-12-03T01·03+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-12-03T01·25+0000 |
commit | 9fed61297a9766be4e5bd4c0a4461cfb176115c9 (patch) | |
tree | 6cad2bcdf5814812062e869a0124dc45a78b88fe /users/sterni/exercises/aoc/2022 | |
parent | c0e70de17a6637a2018c83429acbeba32583bd1d (diff) |
feat(sterni/aoc/2022): day02 k solution r/5378
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 <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/exercises/aoc/2022')
-rw-r--r-- | users/sterni/exercises/aoc/2022/02/2.k | 1 |
1 files changed, 1 insertions, 0 deletions
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 000000000000..9b6d10058d77 --- /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 |