apl-competition-2020/phase1.dyalog

16 lines
554 B
APL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

⍝ 1: Let's Split!
split(0>)((),())
⍝ 2: Character Building
characters{(~127+64)}
⍝ 3: Excel-lent Columns
columns2664-⎕UCS
⍝ 4: Take a Leap
leap1 3(0+.=400 100 4.|)
⍝ 5: Stepping in the Proper Direction
stepping{()+(-×-/)×0,|-/}
⍝ 6: Please Move to the Front
movefront{[]}
⍝ 7: See You in a Bit
bits{f(2¯1)/(f)f}
⍝ 8: Zigzag Numbers
zigzag/2=|2-/×2-/(10¯1)