-3
This is a brainfuck version of Largest Number Printable, and this.
Let's think about brainfuck interpreter such that,
- Has array that can be stretched left & right arbitrary large
- Each cell can contain arbitrary large integer
- Can contain negative integer too
- When the interpreter starts, every cell is intialized by 0
.
prints integer representation of value of cell, then LF.
For example, <<+++.>--.
prints
3
-2
, then terminate.
Description
Your goal is to write a brainfuck program that prints a number/numbers. The bigger the number, the more points you'll get.
There are some rules to follow.
- Your program must terminate.
- You should not use
,
. - You can print multiple integers.
- Your score will be largest number that the program prints.
- Maximum code length is 1024 bytes. (Only
[]+-><.
counts)
Here is sample brainfuck interpreter that you could test.
Leaderboards
:)
3What's the point in having a separate challenge while such answers can as well be posted to the other challenge? – user202729 – 2018-02-15T09:58:27.937
@user202729 largest number printable challenge's maximum code lengths are 100, and it is quite short for brainfuck. – 0xrgb – 2018-02-15T10:06:11.200
Here's a TIO link for your brainfuck interpreter
– Jo King – 2018-02-15T10:17:52.027Is there any sort of time limit? – Jo King – 2018-02-15T10:18:45.673
@JoKing There are no time limit for program. But it must terminate. – 0xrgb – 2018-02-15T10:24:07.480
Doesn't really make a difference. Also we havecompressed BF too. – user202729 – 2018-02-15T10:25:26.397
@user202729 Also, this challenge disallows to concatenate string(output). Therefore, we cannot use technique like
+...........
– 0xrgb – 2018-02-15T10:27:55.693Well, I watched Jo King 's answer. @user202729 is right. 100 bytes is enough for BF, and there is no point to have a seperate challenge. ~Please mark~ I will mark this challenge as duplicated. – 0xrgb – 2018-02-15T11:34:33.267