Activity for General Sebast1anâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #282990 | Initial revision | — | over 3 years ago |
Answer | — |
A: What's a code bowling challenge? What's a code bowling challenge? Code bowling is a challenge/competition to solve a particular (usually simple) problem in the most bytes or complexity. From CGCC Are there any additional criteria that can be added in a code bowling challenge? Code golfing is the exact opposite of code bowli... (more) |
— | over 3 years ago |
Edit | Post #282988 | Initial revision | — | over 3 years ago |
Question | — |
What's a code bowling challenge? There's another type of challenge named code bowling, and I've never heard of it, or even if I did, still don't know how it works. I'm willing to write challenges on code bowling and I want to know how the challenge works. In a summary, what's a code bowling challenge and what's the criteria? (more) |
— | over 3 years ago |
Edit | Post #282987 | Initial revision | — | over 3 years ago |
Answer | — |
A: "Hello, World!" [Chef], 558 485 bytes H. Ingredients. 72 l H 101 l e 108 l l 111 l o 44 l comma 32 l space 87 l w 114 l r 100 l d 33 l bang Method. Put bang into mixing bowl.Put d into mixing bowl.Put l into mixing bowl.Put r into mi... (more) |
— | over 3 years ago |
Comment | Post #282970 |
@#53588 Can you fix that comment, please? The link is supposed to be encased in parentheses, and the text is encased by brackets. :) (more) |
— | over 3 years ago |
Comment | Post #282979 |
@#53588 Never knew that Japt had this, because I don't know Japt at all. Sorry, but that isn't the language I used here. (more) |
— | over 3 years ago |
Edit | Post #282980 | Initial revision | — | over 3 years ago |
Answer | — |
A: "Hello, World!" [Forget], 319 bytes push 72;cleanse;pop;out;push 101;cleanse;pop;out;push 108;cleanse;pop;out;push 108;cleanse;pop;out;push 111;cleanse;pop;out;push 44;cleanse;pop;out;push 32;cleanse;pop;out;push 87;cleanse;pop;out;push 111;cleanse;pop;out;push 114;cleanse;pop;out;push 108;cleanse;pop;out;pus... (more) |
— | over 3 years ago |
Edit | Post #282979 | Initial revision | — | over 3 years ago |
Answer | — |
A: Guess the language! (Cops' Thread) [Japt], cracked by Shaggy, 17 bytes "Cops and Robbers Try it online! Don't think much recognize this language at all. This is supposed to be from Pyth, but Japt has this too, so it's certainly valid. (more) |
— | over 3 years ago |
Edit | Post #282902 |
Post edited: |
— | over 3 years ago |
Edit | Post #282952 |
Post edited: |
— | over 3 years ago |
Edit | Post #282952 | Initial revision | — | over 3 years ago |
Answer | — |
A: Tips for golfing in C Assign `int`s before `main(){}` This is a combination of 2 golfing tricks. It's possible to write a program as just `main(){}`, though it will send a warning, not an error though, so it's still safe to run. A cool trick with using this is assigning values meant to be `int`s which you can assign... (more) |
— | over 3 years ago |
Edit | Post #282951 | Initial revision | — | over 3 years ago |
Question | — |
Tips for golfing in C C is a language I use most apart from Python and as someone who likes code golf challenges, what tips are there to golf in C? (more) |
— | over 3 years ago |
Comment | Post #282903 |
I think you forgot to mention about changing the number too if you want to use a different ROT$n$. (more) |
— | over 3 years ago |
Comment | Post #282903 |
[191 bytes](https://tio.run/##PY67DoJAEAB/Bal2Iw/BxCiKhtjY22ksLseBmPOWrAcSid@OFko9M8ncRCsekqva@u1yGIrGSFuRcTogj7FnZRs2DgWsai2kgvAs/Ffmny5h6f1loFE8Wq5MGRRM9/1V8J5yBUCb1D25u9UsieIYtylQSoH84czCDKeMO0rIjxf4xjeMF02dC6sAe0nmQVoFmkrowD0orclznsQ6n7heNMdvB7gehg8) (more) |
— | over 3 years ago |
Comment | Post #282903 |
I'd suggest closing "V8" with parentheses like what was given to you when you copied that stuff from TIO. Also, forgot to mention, you still need to find the input function for this to be completely valid, or show others how it works so they'd know how to replace the text. (more) |
— | over 3 years ago |
Edit | Post #282902 |
Post edited: |
— | over 3 years ago |
Edit | Post #282902 | Initial revision | — | over 3 years ago |
Answer | — |
A: Caesar shift cipher [C (clang)], 161 bytes i,j,k;main(){char s;scanf("%i%[^\n]%c",&i,s);for(j=0;j<strlen(s);j++){if(isalpha(s[j])){for(k=0;k<i;k++){if(s[j]==90||s[j]==122){s[j]-=26;}s[j]+=1;}}}puts(s);} Try it online! (more) |
— | over 3 years ago |
Edit | Post #282901 | Initial revision | — | over 3 years ago |
Question | — |
Caesar shift cipher Introduction What is the Caesar shift cipher (ROT$n$)? It's basically a cipher sequence that changes a letter's value from the number chosen. If we use ROT1 on "games", we get "hbnft". The basic interpretation of the cipher is iterating the value of a letter by 1 $n$ times. If you still don't unde... (more) |
— | over 3 years ago |
Edit | Post #282804 |
Post edited: |
— | over 3 years ago |
Comment | Post #282881 |
@#53503 Oh. Can we have one here though? (more) |
— | over 3 years ago |
Edit | Post #282804 |
Post edited: |
— | over 3 years ago |
Edit | Post #282881 | Initial revision | — | over 3 years ago |
Article | — |
99 Shortened Bottles of Beer [released] Disclaimer This challenge also exists in CGCC, but if you want to compete here (too), then hop in! Challenge Recreate "99 Bottles of Beer on the Wall", using the least bytes possible. Lyrics: ```lang-none 99 bottles of beer on the wall, 99 bottles of beer. Take one down and pass it a... (more) |
— | over 3 years ago |
Edit | Post #282238 |
Post edited: |
— | over 3 years ago |
Edit | Post #282238 |
Post edited: |
— | over 3 years ago |
Edit | Post #282879 | Initial revision | — | over 3 years ago |
Answer | — |
A: "Hello, World!" [!@#$%^&()+], 17 bytes ^dlroW ,olleH(@) Try it online! Might learn this sometime but I found this. (more) |
— | over 3 years ago |
Edit | Post #282878 | Initial revision | — | over 3 years ago |
Answer | — |
A: "Hello, World!" [Pyth], 14 bytes "Hello, World! Try it online! (more) |
— | over 3 years ago |
Comment | Post #282874 |
I'd suggest adding the exclamation point and comma, as included in the question. (more) |
— | over 3 years ago |
Edit | Post #282876 | Initial revision | — | over 3 years ago |
Answer | — |
A: "Hello, World!" [Charcoal], 13 bytes Hello, World! Try it online! I'm surprised no one even used Charcoal in the challenge. Guess I'll take it. (more) |
— | over 3 years ago |
Edit | Post #282805 | Initial revision | — | over 3 years ago |
Answer | — |
A: "Hello, World!" [Lua], 20 bytes print"Hello, World!" Try it online! (more) |
— | over 3 years ago |
Edit | Post #282804 | Initial revision | — | over 3 years ago |
Article | — |
Caesar shift cipher [released] Introduction What is ROT13? It's basically a cipher sequence that changes a letter's value from the number chosen. If we use ROT1 on "games", we get "hbnft". The basic interpretation of ROT13 is iterating the value of a letter by 1 $n$ times. If you still don't understand, try using the ROT13 webs... (more) |
— | over 3 years ago |
Comment | Post #282802 |
I won't make an answer for this because it doesn't seem proper to be one. I might say that library imports can be split into 2 different scores on a single answer. One where the import is missing and the other includes it, including the macro or function added (considering you're talking about **my**... (more) |
— | over 3 years ago |
Edit | Post #282798 | Initial revision | — | over 3 years ago |
Answer | — |
A: Default Rules: Loopholes Sneakily using macros In a code golf challenge, you are tasked to use as small bytes as possible. However, it's considered unacceptable in a language like C to use macros to hide code or shorten it without including the macro itself. An example: > # [C (clang)], 5 bytes > > > > hell... (more) |
— | over 3 years ago |
Edit | Post #282650 | Initial revision | — | over 3 years ago |
Article | — |
Set in sets in sets [cancelled] Make a program that outputs either parentheses, brackets, or braces to represent sets, and the premise is a positive integer input. Output sets in sets, and the higher the number, the more sets encased in each other. - `1` outputs `{}`. - `2` outputs `{{}}`. - `5` outputs `{{{{{}}}}}` - `16` ou... (more) |
— | over 3 years ago |
Edit | Post #282534 |
Post edited: |
— | over 3 years ago |