solve 36 in uiua (slowish)
This commit is contained in:
7
36/main.ua
Normal file
7
36/main.ua
Normal file
@@ -0,0 +1,7 @@
|
||||
# project euler 36
|
||||
|
||||
# check if palindromic in base 10 and 2
|
||||
c ← ↧∩(≍⊸⇌) ⊃⊥₁₀⋯
|
||||
⍤⤙≍ 1 c 585
|
||||
|
||||
/+⊚≡c⇡1e6
|
||||
Reference in New Issue
Block a user