Solve problem 10
This commit is contained in:
parent
2ec19672f5
commit
78f1d367fb
1 changed files with 2 additions and 0 deletions
|
@ -17,4 +17,6 @@
|
|||
zigzag←∧/2=∘|2-/∘×2-/(10∘⊥⍣¯1)
|
||||
⍝ 9: Rise and Fall
|
||||
risefall←{∧/(⍳∘≢≡⍋)¨(⊂((⊢⍳⌈/)↑⊢),⍵),⊂⌽((⊢⍳⌈/)↓⊢),⍵}
|
||||
⍝ 10: Stacking It Up
|
||||
stacking←{↑⊃,/↓¨⍕¨⍵}
|
||||
:EndNamespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue