diff options
-rw-r--r-- | problem21.ijs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/problem21.ijs b/problem21.ijs new file mode 100644 index 0000000..3f86261 --- /dev/null +++ b/problem21.ijs @@ -0,0 +1,4 @@ +d =. [:+/i.#~0=i.|] +a =. (]=d&d)*.]~:d +nums =. i.10000 +problem21 =: +/nums#~a"0 nums |