From d4af640c5e8baf60dcff6c3e994bad84ad67a4a2 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Tue, 26 Oct 2021 05:16:11 +0100 Subject: - Tidied up guest contribution by Conor Hoekstra, --- challenge-136/conor-hoekstra/apl/ch-1.apl | 6 ++++++ challenge-136/conor-hoekstra/ch-01.apl | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 challenge-136/conor-hoekstra/apl/ch-1.apl delete mode 100644 challenge-136/conor-hoekstra/ch-01.apl diff --git a/challenge-136/conor-hoekstra/apl/ch-1.apl b/challenge-136/conor-hoekstra/apl/ch-1.apl new file mode 100644 index 0000000000..3190eecc6c --- /dev/null +++ b/challenge-136/conor-hoekstra/apl/ch-1.apl @@ -0,0 +1,6 @@ +solution ← ((1=+/)2(⊥⍣¯1)⊢)∨ + +⍝ Tests +8 solution 24 ⍝ 1 +26 solution 39 ⍝ 0 +4 solution 10 ⍝ 1 diff --git a/challenge-136/conor-hoekstra/ch-01.apl b/challenge-136/conor-hoekstra/ch-01.apl deleted file mode 100644 index 3190eecc6c..0000000000 --- a/challenge-136/conor-hoekstra/ch-01.apl +++ /dev/null @@ -1,6 +0,0 @@ -solution ← ((1=+/)2(⊥⍣¯1)⊢)∨ - -⍝ Tests -8 solution 24 ⍝ 1 -26 solution 39 ⍝ 0 -4 solution 10 ⍝ 1 -- cgit