Is there any way I can answer a protected question with 1 (101) rep? I have an answer for codegolf.stackexchange.com/questions/85994 but it was locked 40 minutes ago to users with <10 rep.
Sure. Maybe if a spend another hour or two looking at another question I'll be able to answer it with something acceptable, and then maybe by tomorrow someone will have upvoted it and I'll have enough rep to answer the question I have an answer for now. Sounds perfectly reasonable.
@Dennis I don't see a way to save more bytes there. I copied the shortest known negation algorithm from the BF algorithms page, and I shortened it still, using , instead of [-].
@LegionMammal978 I used to do something similar for a wikia site. I was ranked 4th overall for reputation. The site's useless now, though, since the Clash of the Dragons CCG game was "retired" or shut down by the creators.
They had power creep, and tried to fix it by making cards of older sets "legacy" and not usable for many things. Many players hated that.
Yes. The user has to be able to enter them when the programming is running. You could also post a function that takes two arguments instead of writing a full program.
@Ronronner Yes, that looks correct. There are quite a few savings to be made though. For example, you could print The result of a%b==0 directly, without a conditional, and scanf can read two integers with a single call. Also, at least GCC doesn't require the include.
Reverse stdin to stdout, Unicode aware and by grapheme clusters
It's 2016. High time that we were Unicode-aware, don't you think?
Given a UTF-8 string on stdin, reverse it by extended grapheme clusters (as defined by the Unicode consortium) and place it on stdout. This is seemingly a trivial ch...
Stackylogic is a programming language I made up in a previous challenge: Run Stackylogic. Read that post for full details and examples, but here is how it works paraphrased:
Stackylogic takes 0's and 1's for input and outputs a single 0
or 1 upon completion.
A program consists of lines...