Chat mini-challenge: You're given a string consisting of the characters -<>. The pairs --, -<, ><, >-, <> are linked, and the remaining pairs ->, >>, <-, << are not. Your task is to split the string at the middle of each non-linked pair. For example, "-<>>->--<>-<<>--<" gives output "-<>", ">-", ">--<>-<", "<>--<".
@Zgarb Well, a valid chain can only consist of matched <> or hyphens, because everything else breaks it. The only unmatched > or < can be at the start or end respectively. So I'm just matching that form directly instead of checking for all pairs character by character.
I'm thinking of doing a challenge that requires printing the decimal expansion of 1/49...9 to K digits, like, given n = 3 and K = 6, print the first 6 digits of 1/4999
> Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.
@Bálint Yes, though I think Sublime looks for stuff like how often you save a file, or how much text you type, that sort of thing. So it's a usage limit, not a time limit.
Create the shortest possible obfuscated program that displays the text "Hello World".
In order to be considered an obfuscated program, it must meet at least two of the following requirements:
Does not contain the characters: "h", "l", "w" and "d" in any case
Does not contain the characters...
and the additional restrictions (that the particular letters can't appear in your source code) could be grounds for differentiation, but it isn't big enough IMO
no, its not. Obfuscating is the task, not the type of task
where as string processing is the type
otherwise, we could take every challenge on our site and make it an obfuscation challenge
@NathanMerrill No, I'm not, obfuscation, as other popcon, must not be something that copycat every other challenges for the sake of a different winning criteria
Most puzzles and questions asked on CodeGolf are interesting and challenging. However, usually the answers that win are created from pre-fabricated languages designed for golfing code.
This seems unfair since it is easy to make ANY language you like for any situation. Languages used to answer the...
Air balloons need a gas that is lighter than air. However, hydrogen is flammable, while helium is not sustainable, so we need a replacement! You must write code that determines whether any given gas is lighter than air.
Input: a molecular chemical formula of a gas (ASCII)
Output: true if the ...
additionally you could: transfer over bluetooth, use your computer as a proxy, set up a small fileserver on your android phone and hit it with the ipad, set up a small ftp server on either the ipad or the android device
@MartinBüttner Slowly but surely. I almost answered a challenge with it not long ago, but the interpreter had a bug and I was too lazy to fix it right away...
@LeakyNun Now, can you sort the columns instead of the rows?
Inspired by this question which was further inspired by this one, write a program which takes two integers and adds them in a unique way, by performing an OR operation on the segments used to display them in a 7-segment display. For reference, the digits are represented in the following way:
_...
Oh, it's the last sentence from the challenge text. Somebody added it after the challenge was first posted. I think it might encourage downvotes for big answers.
My answer is big, so I am going to get downvotes :)