Activity for General Sebast1anâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284447 | Initial revision | — | about 3 years ago |
Answer | — |
A: "Hello, World!" [Seriously], 1 byte H Try it online! Similar to HQ9+. (more) |
— | about 3 years ago |
Edit | Post #284446 | Initial revision | — | about 3 years ago |
Answer | — |
A: 99 Shortened Bottles of Beer [Seriously], 1 byte N Try it online! Yep. lmao (more) |
— | about 3 years ago |
Edit | Post #284445 | Initial revision | — | about 3 years ago |
Answer | — |
A: Truthify an array [shortC], 78 bytes i,j;f(Ix,Iy,Ip){R"[");O;i<x;i++)Oj=0;j<y;j++)p++&&R"[%d,%d],",i,j);J"\b]");} Try it online! From @Lundin's C (gcc) answer. (more) |
— | about 3 years ago |
Edit | Post #284443 | Initial revision | — | about 3 years ago |
Answer | — |
A: "Hello, {name}!" [shortC], 30 bytes B){Cs[100];Qs);R"Hello, %s!",s Try it online! (more) |
— | about 3 years ago |
Edit | Post #284442 | Initial revision | — | about 3 years ago |
Answer | — |
A: Obligatory Quine Challenge [shortC], 38 bytes Bs){Rs="Bs){Rs=%c%s%c,34,s,34",34,s,34 Try it online! From GeeksForGeeks's C implementation. (more) |
— | about 3 years ago |
Edit | Post #284428 |
Post edited: |
— | about 3 years ago |
Edit | Post #284440 | Initial revision | — | about 3 years ago |
Answer | — |
A: Collatz conjecture; Count the tries to reach $1$ [shortC], 47 bytes a,b;AOK"%d",&b);b-1;b=b%2?b3+1:b/2)a++;R"%d",a Try it online! From @ugoren's C answer from CGCC. (more) |
— | about 3 years ago |
Edit | Post #284399 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284428 |
Post edited: |
— | about 3 years ago |
Edit | Post #284428 |
Post edited: |
— | about 3 years ago |
Edit | Post #284438 | Initial revision | — | about 3 years ago |
Answer | — |
A: 99 Shortened Bottles of Beer [shortC], 223 bytes AOCw=" bottles of beer on the wall",i=100;--i;)R"%d%.s%s, %d%.s%.8s.\n%s, %d%.s%s.\n\n",i,i-1?8:7,w,w+8,i,i-1?8:7,w,w+8,i^1?"Take one down and pass it around":"Go to the store and buy some more",i^1?i-1:99,i^2?8:7,w,w+8 Try it online! From @Lundin's C (gcc) answer. ... (more) |
— | about 3 years ago |
Edit | Post #284428 |
Post edited: |
— | about 3 years ago |
Edit | Post #284396 |
Post edited: |
— | about 3 years ago |
Edit | Post #284396 |
Post edited: |
— | about 3 years ago |
Edit | Post #284428 |
Post edited: |
— | about 3 years ago |
Edit | Post #284428 |
Post edited: |
— | about 3 years ago |
Edit | Post #284001 |
Post edited: |
— | about 3 years ago |
Edit | Post #284428 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Comment | Post #284407 |
@#53573 When I say "method", I mean the operator. Sorry about that. And to answer your question, the returning value is a character. (more) |
— | about 3 years ago |
Edit | Post #284430 |
Post edited: |
— | about 3 years ago |
Edit | Post #284430 | Initial revision | — | about 3 years ago |
Answer | — |
A: Repeat the characters [shortC], 40 37 bytes i;f(Cs,In){O;s;s++)Oi=n;i--;Ps));} Try it online! A shortC conversion of @Lundin's C (gcc) implementation. (more) |
— | about 3 years ago |
Edit | Post #284429 | Initial revision | — | about 3 years ago |
Answer | — |
A: Reverse an ASCII string [shortC], 24 bytes f(Cs){s&&f(s+1)^Ps);} Try it online! A shortC conversion of @Sisyphus's C (gcc) implementation. (more) |
— | about 3 years ago |
Edit | Post #284428 | Initial revision | — | about 3 years ago |
Answer | — |
A: Encode and decode floating point integers [Python 3], 268 250 235 233 210 197 148 bytes def a(n):e=(n>>6).bitlength();f=2e;l=n&(f-1);N=(n>>e)&31;return((e+(n>31))f) def b(r):E=r>>5;return((r&31)+32(E>0))2(E-(E>0)) Try it online! Golfed 15 bytes thanks to @celtschk's advice. Golfed another 23 bytes thanks to @celtschk's ... (more) |
— | about 3 years ago |
Edit | Post #282996 |
Post edited: |
— | about 3 years ago |
Edit | Post #284396 |
Post edited: |
— | about 3 years ago |
Edit | Post #284001 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284396 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Edit | Post #284407 |
Post edited: |
— | about 3 years ago |
Comment | Post #284337 |
Please place your reason of downvoting in this thread so I can fix the issues or figure if the challenge should be cancelled entirely. (more) |
— | about 3 years ago |
Edit | Post #284407 | Initial revision | — | about 3 years ago |
Article | — |
Operation "Find The Operator" [released] Challenge Make a program that takes input of 3 non-negative integers: a result and 2 other values that once calculated results to the 3rd value. - The program must figure out how to get the 2 first numbers to equivalence itself with the 3rd. It could be either addition, subtraction, multiplicat... (more) |
— | about 3 years ago |