From f4f8a9fb3fb6d7842718fe6dee9956e3382b1398 Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Tue, 7 Oct 2025 07:09:14 +0200 Subject: [PATCH] solve 92 in uiua (10 sec) --- 92/main.ua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 92/main.ua diff --git a/92/main.ua b/92/main.ua new file mode 100644 index 0000000..c599e04 --- /dev/null +++ b/92/main.ua @@ -0,0 +1,7 @@ +# next number in chain +N ← /+⍉°√⊥10 + +⍜-⇡1 1e7 +⍥N10 # the longest 1-chain is less than 10 +-⊙1e7 ⧻⊚=1 # count 1s to subtract from 1e7 +-1 # there are 999999 nums, because no 0