Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for General Sebast1an‭

Type On... Excerpt Status Date
Question A chunk of symbols is a calculation
Challenge Create a program that takes input of a string and outputs an integer using the following calculation system: - The string can only contain `+`, `-`, ``, `/`, `^`, `!` (or a different character; `!` is used here for demonstration), `(`, and `)`. - In this system, a character shows the...
(more)
almost 3 years ago
Edit Post #283231 Post edited:
almost 3 years ago
Comment Post #283231 @#53196 Yep. It also makes some cool calculations since GEMDAS is applied to it, meaning having a second character to present `+n` is a good idea to start with.
(more)
almost 3 years ago
Edit Post #283288 Post edited:
almost 3 years ago
Comment Post #283175 @#53837 Nevermind, I figured it out. It's in my answer already.
(more)
almost 3 years ago
Edit Post #282290 Post edited:
almost 3 years ago
Edit Post #279253 Post edited:
almost 3 years ago
Edit Post #283288 Post edited:
almost 3 years ago
Edit Post #283294 Initial revision almost 3 years ago
Answer A: Add detailed wikis and usage info on these tags
graphical-output - Usage info: Graphical output challenges involve outputting images or illustrations using graphics. - Detailed wiki: (uses text from CGCC's) > Graphical output challenges involve images as output or drawing graphics on a screen. For pure ASCII art contests, use ascii-art instea...
(more)
almost 3 years ago
Suggested Edit Post #279253 Suggested edit:

(more)
helpful almost 3 years ago
Edit Post #282290 Post edited:
almost 3 years ago
Edit Post #283288 Post edited:
almost 3 years ago
Edit Post #283288 Post edited:
almost 3 years ago
Edit Post #283288 Initial revision almost 3 years ago
Answer A: Reduce over the range [1..n]
[C (clang)], 59 bytes c;f(int a,(b)(int,int)){for(c=a;a>1;)c=b(--a,c);return c;} Try it online! This program written by @Hakerh400 in the comments is basically how the other answers before this post existed actually did it, by a reduction sort of method. I'd like to thank them for ma...
(more)
almost 3 years ago
Edit Post #283285 Initial revision almost 3 years ago
Article Code bowling "Code bowling"
In this code-bowling challenge, make an absurdly long program that prints out "Code bowling". - Obfuscate it as much as you could. - Comments and custom functions aren't allowed to make the program longer. - If any character in the code is missing, it won't run or it sends an error. - The progr...
(more)
almost 3 years ago
Comment Post #283175 I have no idea how you got those XOR values. It's kinda confusing what values are going in.
(more)
almost 3 years ago
Comment Post #283231 @#53196 Yes, you can use whatever character to replace `!`, but that also means you can't use `!` anymore if you used a different character. Meaning `aaaa+++` is a valid input, which returns `7`, whilst `aaaa!!!+++` isn't. It'd be written `aaaa+++aaa` or `++++aaa+++` instead, which returns `10`.
(more)
almost 3 years ago
Edit Post #283264 Initial revision almost 3 years ago
Question Add detailed wikis and usage info on these tags
In this request (not really a feature-request but still tagged so anyway), I'd like to have detailed wikis on tags and maybe usage information on them too. Currently, these tags have usage info in them: - code-bowling - code-golf - cops-and-robbers - fastest-code - king-of-the-hill I'd lik...
(more)
almost 3 years ago
Edit Post #283231 Post edited:
almost 3 years ago
Edit Post #283231 Post edited:
almost 3 years ago
Comment Post #283231 @#53196 Yes. It can be used for addition too, now that I have edited it.
(more)
almost 3 years ago
Edit Post #283231 Post edited:
almost 3 years ago
Comment Post #283231 @#53196 I remember Kevin M. Mansour doing the same thing for "Caesar shift cipher", where they used a function to solve the challenge, so sure, that works too.
(more)
almost 3 years ago
Comment Post #283231 @#53588 Since we're focusing on integers, it's most likely integer division we'll be using.
(more)
almost 3 years ago
Comment Post #283231 @#53837 No, actually. It's basically the implementation of the operation from the preceding number. For example, `//` is basically `x / 2`. And I mentioned you CAN'T use symbols other than `+`, `-`, `!` and `(` at the very beginning of the input because it will return something to show it's invalid.
(more)
almost 3 years ago
Edit Post #283231 Post edited:
almost 3 years ago
Edit Post #283231 Initial revision almost 3 years ago
Article A chunk of symbols is a calculation [released]
Challenge Create a program that takes input of a string and outputs an integer using the following calculation system: - The string can only contain `+`, `-`, ``, `/`, `^`, `!` (or a different character; `!` is used here for demonstration), `(`, and `)`. - In this system, a character shows the...
(more)
almost 3 years ago
Edit Post #283211 Initial revision almost 3 years ago
Answer A: Tips for golfing in C
Abuse (as few) libraries (as possible) We don't want to use too much libraries when playing challenges. Sometimes, libraries aren't used at all in some answers in C. What if we want to shorten some code? Functions do the trick, specifically built-ins. It's specified you don't have to apply the ...
(more)
almost 3 years ago
Comment Post #283175 @#53837 Simple, use `<a class="badge is-tag">something</a>`. This will give <a class="badge is-tag">something</a>.
(more)
almost 3 years ago
Edit Post #283180 Post edited:
almost 3 years ago
Suggested Edit Post #283180 Suggested edit:

(more)
helpful almost 3 years ago
Edit Post #283151 Post edited:
almost 3 years ago
Comment Post #283175 I don't know what the <a class="badge is-tag">blackbox-function</a> is supposed to be, but yeah, this may seem like a cool repetitive calculation challenge.
(more)
almost 3 years ago
Suggested Edit Post #283176 Suggested edit:

(more)
declined almost 3 years ago
Comment Post #283176 However, I'm thinking not just having <a class="badge is-tag">code-golf</a> + <a class="badge is-tag">tips</a>, but also burninate the <a class="badge is-tag">code-golf-tips</a> tag as well, to give more room to store tags. In other words, for some reason, the tag list has a max scroll so you won't b...
(more)
almost 3 years ago
Edit Post #283163 Initial revision almost 3 years ago
Answer A: "Hello, World!"
[Java (JDK)], 80 bytes class A{public static void main(String[] A){System.out.print("Hello, World!");}} Try it online! This answer, except it's actually runnable.
(more)
almost 3 years ago
Comment Post #283141 @#53588 As long as you separate each verse, then trailing newlines can be viable.
(more)
almost 3 years ago
Edit Post #283141 Post edited:
almost 3 years ago
Edit Post #283151 Initial revision almost 3 years ago
Article Cops and Robbers: Luhn algorithm [cancelled]
This is now a cancelled sandbox post. This challenge won't be posted on the main for reasons, but thanks for coming to check this out. Introduction The Luhn algorithm is used to verify card numbers. The algorithm in a summary acts like this: ```lang-none Reverse the digits, make an array: ...
(more)
almost 3 years ago
Edit Post #283141 Post edited:
almost 3 years ago
Comment Post #283141 @#53196 I'm certain you can use snippets. I can't really make up what you're trying to make though, so do what suits ya.
(more)
almost 3 years ago
Edit Post #283141 Post edited:
almost 3 years ago