solve 62 in uiua (1 minute)

This commit is contained in:
2025-09-21 02:31:58 +02:00
parent c570de0f69
commit 8995b69804

8
62/main.ua Normal file
View File

@@ -0,0 +1,8 @@
# project euler 62
# [all cube permutations smaller than cube] ? cube
Chain ← ▽⤚≡⌟(≍⍆⊥10)⊙(⍆⊥10)⊸(
▽⤚≡(≤⧻⊥10) ⊙(⧻⊥10)⊸⍜°ⁿ₃(⇡⌈)
)
⍢+₁(<4⧻Chainⁿ3) 1
⊢Chainⁿ3