r/programbattles • u/Zadorrak • Oct 20 '15
Any language Most complicated way to output numbers 0-9
Simple as the title, really. I want to see the most complicated, abstract ways in which one would output numbers 0-9. Points go for quality, not quantity.
12
Upvotes
10
u/debunked Oct 20 '15 edited Oct 20 '15
Probably not the most complicated way I could think of, but it's something I could write up fairly quickly (and uses some fun undefined behavior in C!).
9
u/Badel2 Oct 20 '15
Simple brainfuck:
1
u/AutoModerator Oct 20 '15
Off-topic comments thread
Comments that are not challenge responses go in here.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/mattmc318 Oct 21 '15
Off the top of my head:
1
u/omgitsjo Oct 21 '15
I'm doing 1-5. Same idea with 1-9. Don't ever do this.
Some credit where due
1
u/doitroygsbre Oct 23 '15
Not terribly complicated, but it was fun writing it:
1
u/[deleted] Dec 11 '15
Off the top of my head, something like this, also Brainfuck