This challenge is intended to utilize the bf language as a means of solving a problem. However, language-specific challenges are generally discouraged on CG.
8
votes
2answers
462 views
Bitwise Operators in Brainfuck
Your task is to create one brainfuck program for each of the following binary operators. Each program should take one or two 8-bit numbers (A and B) from input and calculate the specified operation:
...
0
votes
0answers
74 views
Brainf*** interpreter [duplicate]
Possible Duplicate:
Interpret Brainfuck
As the name suggests, the challenge is to create the smallest brainf** interpreter, in the language of your choice.
It can either accept input from ...
2
votes
2answers
451 views
Brainfuck Golfer
One of easiest code written by a programming language is a program printing sequence of characters (ex. "Hello, world!"). However, some esoteric programming languages like Brainfuck, even this ...
6
votes
4answers
601 views
Busy Brain Beaver
Write a brainfuck program of no more than 256 characters that takes as many steps as possible, but does not loop infinitely. The program may not take any input.
More specifically:
Assume an ...
6
votes
4answers
600 views
Fastest Sort in BrainF***
After having implemented QuickSort in BrainF***, I realized it probably wasn't that quick. Operations that are O(1) in normal languages (like array indexing) are significantly longer in BF. Most of ...
4
votes
1answer
237 views
How to encode shortest brainf_ck strings
This is an interesting one.
I have written a short program in objective-c to encode a string into a brainf_ck string, this is what it looks like:
NSString *input; // set this to your input string
...
5
votes
2answers
643 views
Generating BF-code with single purpose
I'd like to see you create code (in any programming language) that output working BF (Brain***k) code. Your program have a single character input on stdin. The input should be one digit ("0", "1", ...
16
votes
1answer
1k views
Implement QuickSort in BrainF***
As discussed in the Lounge room on Stack Overflow:
if you can't implement the Quicksort algorithm given en.wikipedia.org/wiki/Quicksort in any language you have minimal knowledge of, you might ...