Super Fast Brainfuck

Discussion of challenges you have already solved
Post Reply
a.goth
Posts: 43
Joined: Sat Sep 14, 2013 10:39 am

Super Fast Brainfuck

Post by a.goth »

Although it is required according to the challenge text, I wrote no general-purpose Brainfuck interpreter. Even worse, my solution does not compute all test cases correctly and the SuperHack program was submitted to the server as long as new King of the Hill benchmarks were set:

Code: Select all

%+.<>f     /\
            x,
            5+
            91
            *?
/,+1\s-1:g40:/
\03g:p! p    s      /===3749+00g***x01g*xxxxppppp59**xxxxppppp
        !    1    /&/}}}}3749+00g***x01g*xxxxppppp59**xxxxppppp
             5    |   /===3749+00g***x01g*xxxxppppp59**xxxxppppp
             :&\}&/}}&/}}}}3749+00g***x01g*xxxxppppp59**xxxxppppp
             g \&\}}&\}}}}3749+00g***x01g*xxxxppppp59**xxxxppppp
             1   |   \===3749+00g***x01g*xxxxppppp59**xxxxppppp
             0   \&\}}}}3749+00g***x01g*xxxxppppp59**xxxxppppp
             ,     \======================pppp02gp59*xxxpppp!
             ,
             ,
             ,
       %,,04g:01g,1^:06gp!
             0      5
             5      6
             g      *
             x      *
             9      p
             +      !
             x
             p
             p
             p
             !
A somewhat disappointing challenge, because it largely depends on how lucky you are with fast computable test cases. Are you lucky enough to beat me?
Post Reply