Maybe other array folks can do better. The funny part is the initial C++ / Rust code is my code from a YouTube video I made 2 years ago. And the C code is cheating - it is using a constant time formula. piped.video/watch?v=wGCWlI4A…
@code_report crush this with an array language.

Aug 28, 2025 · 9:52 PM UTC

3
2
24
Replying to @code_report
Liking uiua for this Calculate ← (/+׬◿2.+⊙⇡)
2
Replying to @code_report
in K calc:{{+/x@&~2!x}[x+!y-x-1]}
1
Replying to @code_report
I think the C ‘cheat’ is the joke…
1