Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
9
Task/Middle-three-digits/Uiua/middle-three-digits.uiua
Normal file
9
Task/Middle-three-digits/Uiua/middle-three-digits.uiua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[123 12345 1234567 987654321 10001 ¯10001 ¯123 ¯100 100 ¯12345
|
||||
1 2 ¯1 ¯10 2002 ¯2002 0]
|
||||
Mid ← (
|
||||
⍤("too short")≥3.⧻.°□°⋕⌵
|
||||
⍤("even length")≠0◿2.
|
||||
↘¯⟜↘⌊÷2-3
|
||||
)
|
||||
⍉⊟⟜≡⍚⍣(Mid|⊂"Error: "◌) # Convert each
|
||||
≡(&p$"_\t->\t_"°⊟) # Display
|
||||
Loading…
Add table
Add a link
Reference in a new issue