2024 day 2 tacit version
This commit is contained in:
parent
86f2c69d03
commit
6ebc4b9ae0
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +2,5 @@ in←•ParseFloat¨¨' '⊸((¬-˜⊢×·+`»⊸>)∘≠⊔⊢)¨•FLines"inpu
|
||||||
Sorted←∧⊸≡∨∨⊸≡
|
Sorted←∧⊸≡∨∨⊸≡
|
||||||
Step←∧´∘(1⊸≤∧≤⟜3)(|1⊸(↓--⊸↓))
|
Step←∧´∘(1⊸≤∧≤⟜3)(|1⊸(↓--⊸↓))
|
||||||
•Show +´(Sorted∧Step)¨in
|
•Show +´(Sorted∧Step)¨in
|
||||||
Expand←{((∾↑⋈1⊸+⊸↓)⟜𝕩)¨(↕≠)𝕩}
|
Expand←(↕≠)(∾↑⋈1⊸+⊸↓)⌜<
|
||||||
•Show +´∨´¨(Sorted∧Step)¨¨Expand¨in
|
•Show +´∨´¨(Sorted∧Step)¨¨Expand¨in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue