diff options
Diffstat (limited to 'problem36.ijs')
-rw-r--r-- | problem36.ijs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/problem36.ijs b/problem36.ijs new file mode 100644 index 0000000..628cf70 --- /dev/null +++ b/problem36.ijs @@ -0,0 +1,6 @@ +bits =: 2&#.^:_1 +decimals =: 10&#.^:_1 +palindrome =: |.-:] +palins =: [: palindrome each bits;decimals +both =: [: *./ ;&palins +problem36 =: +/I.both"0 i.1e6 |