Posts by Sisyphus
Print or return this exact text: 0 0 0 0 1 0 0 1 1 0 0 1 2 1 0 ...
C (gcc), 34 bytes f(char*s){*s&&f(s+1)^putchar(*s);} Try it online! Alternative: C (gcc), 35 bytes f(s){read(0,&s,1)&&f()^putchar(s);} Try it online! Alternative ...
Answer
Python 2, 13 bytes exec'+1'*5**9 Try it online! No idea why this works. Something in the Python expression parser?
Answer
Bash, 3 bytes rev Try it online! Less boring: Bash, 8 bytes tac -rs. Try it online!
Answer