Activity for Sisyphusâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #279702 | Initial revision | — | about 4 years ago |
Answer | — |
A: Reverse an ASCII string [Bash], 3 bytes rev Try it online! Less boring: [Bash], 8 bytes tac -rs. Try it online! (more) |
— | about 4 years ago |
Edit | Post #279701 |
Post edited: |
— | about 4 years ago |
Edit | Post #279701 |
Post edited: |
— | about 4 years ago |
Edit | Post #279701 | Initial revision | — | about 4 years ago |
Answer | — |
A: Reverse an ASCII string [C (gcc)], 34 bytes f(chars){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 #2: [C (gcc)], 36 bytes f(s){write(read(0,&s,1)&&f(),&s,1);} Try it online! (more) |
— | about 4 years ago |
Edit | Post #279422 |
Post edited: |
— | about 4 years ago |
Edit | Post #279422 | Initial revision | — | about 4 years ago |
Answer | — |
A: Bytes to Segfault [Python 2], 13 bytes exec'+1'59 Try it online! No idea why this works. Something in the Python expression parser? (more) |
— | about 4 years ago |
Comment | Post #279420 |
Actually, I think even just `main;` works (since return type defaults to int). (more) |
— | about 4 years ago |
Edit | Post #279169 |
Post edited: |
— | about 4 years ago |
Edit | Post #279169 | Initial revision | — | about 4 years ago |
Question | — |
Print the Great Numeric Pyramid Print or return this exact text: ``` 0 0 0 0 1 0 0 1 1 0 0 1 2 1 0 0 1 2 2 1 0 0 1 2 3 2 1 0 0 1 2 3 3... (more) |
— | about 4 years ago |