From ddf68c923f9d41abe4ff75c6a0d2f410df35a2bf Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Fri, 8 May 2020 15:14:25 +0200 Subject: [PATCH] Solve problem 8 --- phase1.dyalog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phase1.dyalog b/phase1.dyalog index a2e5aa3..07c9234 100644 --- a/phase1.dyalog +++ b/phase1.dyalog @@ -9,3 +9,5 @@ {⍵[⍋⍺≠⍵]} ⍝ 7: See You in a Bit {f←⍸∘⌽(2∘⊥⍣¯1)⋄∧/(f⍺)∊f⍵} + ⍝ 8: Zigzag Numbers + (∧/2 ¯2∊⍨2-/∘×2-/(10∘⊥⍣¯1))