chiark
/
gitweb
/
~bjharris
/
aoc-2022.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9a729
)
23a: Stop showing the map, which makes it slightly faster
author
Ben Harris
<bjh21@bjh21.me.uk>
Thu, 13 Jun 2024 22:31:22 +0000
(23:31 +0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Thu, 13 Jun 2024 22:31:36 +0000
(23:31 +0100)
23/23a.bqn
patch
|
blob
|
history
diff --git
a/23/23a.bqn
b/23/23a.bqn
index 4f1029f9e8c49bd8f5c853cd59cfc733ff3b23ad..e95d56ef98669072cdfb3c97330316643eccc026 100644
(file)
--- a/
23/23a.bqn
+++ b/
23/23a.bqn
@@
-35,7
+35,7
@@
Round←{𝕊map:
stay← unshifts { 𝕩∧ 𝕎 collisions }¨ proposals
map↩(∨´stay)∨(∨´ shifts { 𝕎 𝕩 }¨ proposals∧¬stay)
Turn @
-
•Show
Trim map
+ Trim map
}
Main←{+´¬⥊ Round⍟10 𝕩}