Posted from here.
This challenge is highly "distilled" from this question. Special thanks to @Akababa!
In this task, you should insert an exclamation mark at the start of the string and after every character.
Rules
There will always be a non-empty-string input. The input will not contain tab...
Talk interpreter
"Talk" is a baroquified accumulator-based language that is created in order to make it difficult to put on Try It Online. The "Talk" language has 4 commands:
00 If the accumulator is 0, set the accumulator to 0.
01 If the accumulator is 0, set the accumulator to 1.
10 If the a...
Background
Joe is working on his new Brainfuck answer on Codegolf. The algorithm he's using to solve the challenge is a bit complicated, so Joe came up with idea of simplifying his Brainfuck notation to make programming easier and faster.
The challenge
Let's look at snippet written by Joe a mo...
When I posted this to the Sandbox, I have waited for 21 days before I posted the challenge to main. However, there are still a lot of issues in that post, and someone had found a duplicate. Why are there still so many issues in a Sandboxed post when people would have found more issues in the ext...
@cairdcoinheringaahing so, the group of rubik's cube configurations is a product of several independent smaller groups. we could solve the problem separately for them and the inputs could correspond to the smaller problems
a list of (bounded) inputs has a trivial mapping to a single integer
real world example: the length-3 list hour:minute:second corresponds to a certain number of seconds since midnight, but in practice it's more convenient to use a list with 3 small numbers than 1 big number
@cairdcoinheringaahing another option: consider only configurations in which the central cubies are fixed (e.g. white always points up, blue to the right, etc). that would reduce the number of possible configurations by 24 and the big number would fit in 64 bits
@ngn I'm not a massive fan of that, as it kinda takes away from the challenge. Keep in mind that it can work theoretically for every number, but is allowed to fail for numbers outside of a language's range
@ngn Yes, because the center square cannot be rotated out of where it starts, and rotating the entire cube isn't considered a 'move' as it doesn't affect its net
The task is to write a radiation-hardened irradiator. What do I mean by that, exactly?
An irradiator is a program that, when given a string as input, will output all possible versions of the string with one character removed. For example, given the input Hello, world!, the program should output:...