@RenderSettings Good thing competitions are really language-specific - the "winner" isn't really a winner. They're just the shortest overall. A code-golf is to see who can make it the shortest in each language, and what languages have specific qualities that can help them in those challenges.
@RenderSettings Good thing competitions are really language-specific - the "winner" isn't really a winner. They're just the shortest overall. A code-golf is to see who can make it the shortest in each language, and what languages have specific qualities that can help them in those challenges.
@Sam Technically yes, but we tend to view challenges as competitions within languages. So your solution in Java, for example, may be longer than one in a golfing language like Jelly, but it could be shorter than another Java solution.
It looks like we have a consensus that we want certain defaults for the format which answers are expected in for code-golf. On that poll, the question arose twice, which input/output formats should be allowed for programs and functions.
So here is another poll. This one works different though. A...
What general tips do you have for golfing in Python? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to Python (e.g. "remove comments" is not an answer).
Please post one tip per answer.
As long as you don't use any Roblox specific extensions (math.noise being the only one that would actually be usable), you could just submit it as Lua 5.1
Meme: Java
Origin: Java's existence
Cultural Height: Always
Background: The go-to example of a verbose language. It can be used in many contexts.
For comfort:
A: My golf is too long :(
B: At least it's not Java
As a red flag:
A: Uh oh, my golf is almost as long as Java's
B: Clearly, you'r...
A lipogram is a block of words that omits a particular symbol. Right now, I am avoiding our fifth symbol of 26 that commonly show up. You should know by now what I am omitting. If not, look up "lipogram" and you will know.
Your Task
With a char, a blank, and a following string (blanks may show ...
Given a number > 0, output the sum with all digits (1 .. n) concatenated and reversed and add them up. For example, with n = 6:
The numbers 1 to 6 concatenated:
123456
Reversed:
654321
Adding them up together will result in: 777777. Another example is n = 11:
1 2 3 4 5 6 7 8 9 10 11 > 123...
A server that I attend has decided to name itself Gaymercraft in order to repel trolls and raiders who, quote, "wouldn't be caught dead on a gay minecraft server". They have had no reports of any raids/griefs since they changed it.
ಠ_ಠ The fact that that seems to work is unacceptable.
The tracking system for that is found by declaring classes as being used with ;u <filename>, which stores content about Vitsy classes in the main Vitsy object.
I think about if I was turned into an ant, I'd want my loved ones to
know, so I thought of a plan- I'd gather twigs and leaves and write my
name on the ground, Then I'd wait for my family and friends to crowd
round But now I'm thinkin'- that when they saw it They'd think the
human me w...
@EasterlyIrk That reminds me of the little calculator program I had in middle school that I would tell people would clear out viruses from their calculator. I would conveniently neglect to mention that the program itself was the virus I meant. Basically, what it would do is crash the calculator OS, which deletes everything in RAM, including the program, which had to be unarchived to run it...