Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Sleepsort on Brainfuck (for experts only)

Name: Anonymous 2013-12-09 16:47

Well, here is one of my favourite algorithms in one of my favourite languages.


>>>>>,----------[++++++++
++[->+>+<<]>+>[-<<+>>]+++
+++++[-<------>]>>+>,----
------<<+[->>>>>+<<<<<]>>
]>>>[<<<<[<<<[->>+<<[->+>
[-]<<]]>[-<+>]>[-<<<.>>>>
->>>>>[>>>>>]<-<<<<[<<<<<
]+<]<<<<]>>>>>[>>>>>]<]


input: 15203569\n
output: 01235569


Double the uselessness and fun

Name: Anonymous 2013-12-10 2:37

Maximum time is 2^32, because lol integers.
Therefore constant time.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List