Brainfuck Very Simple

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Interpret brainfuck programs generated by http://golf.shinh.org/p.rb?add_sub_brainfuck_code with newlines added for nicer formatting.

-- mitchs

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++
++++++++++++++++++++++.+++++++..+++.--------------------------------------------
-----------------------.------------.+++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++.--------.+++.------.--------.------
-------------------------------------------------------------.------------------
-----.

Sample output:

Hello, world!

Sample input:_

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++
++++++++++++++++++++++++++++++++.-.++++++.-----------.------.++++++++++++++++++.
----------------.+++++++++++++.-------------.-----------------------------------
----------------------------------.+++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++.--.+.---------.++++++++++++++.---------------
--------------------------------------------------------------------.+++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++.++++++.----
-----------.+++++++++.++++++.-----------.++++++++.++++.----------------.--------
-------------------------------------------------------------.++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++.--------------
---.-----------------------------------------------------------------.++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.-----
----------.+++++++++.---------.---.-.+++++++++++++.++++++.----------------------
--------------------------------------------------------------------------------
----.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++.+++++.----------.+.----------------------------------------
-----------------------------.++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++.-----.+++.---.-------------------------------
------------------------------------------------.+++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++.---------------.++++++++++++++
+++++.---------------.+++++++++++++.--------------------------------------------
--------------------------------------.+++++++++++++++++++++++++++++++++.+++++++
+++++++++++++++++++++++++++++.+++++++++.---------.----.++++++++++++++++++.------
-----------------------------------------------------------------------------.++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+.----------.------.------------------------------------------------------------
-------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++.+++.+.++.--.------------------------------------------------------------
-----------------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++.+.------------------------------------------------------------------.+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++.+++
+++++.-----.-----------------------------------------------------.--------------
----------------------------------..++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++.+++++++++++++++++++++++++++++++++++++.--------.-----.+++++++
++++++.----------.+++++++++++++++++.--------.-----------------------------------
------------------------------.------------.++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++.-------------.++.++.+++++.-------
------.-----------------------------------------------------.------------.++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++
.-------------------.+++.++++++++++++++.----------------------------------------
-------------------------------------------.++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++.-------------.+++++++++.+.+++++++
.---------------------.+++++++++++++++++.-------------.-------------------------
--------------------------------------------.+++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++.+++++++++++.---.+++.+++.-------------.++++++++
.-----------------------------------------------------------------.-------------
---------------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++.++++++++++++++++++++++++++++++.---.------.--------.++++++++++++
+.-------------.++++++++++++++++++.---------------------------------------------
--------------------------------------.+++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++.-.---------------------------------
---------------------------------------------------.++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++.+.-----------.++++++++++++++
.-------------------------------------------------------------------------------
----.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++
++++++++++.---------------------------------------------------------------------
---------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++.-----------.++++++++++++.--------.+++++++++.++++++.----------------
---.+.+++++++.+++.-------.------------------------------------------------------
---------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++.-------------.++.+++++++.+++++++.--------.-------------------
--------------------------------------------------------------------------------
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++.+++++++++++++.+++.----------------.+++++++++++++.---------.+++++.++
++++.---------------------------------------------------------------------------
---------.++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++.+++
++++++++++.-------------.++++++++.----------------------------------------------
---------------.------------.+++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++.++++.--------------------.++++.++++++++++++.++++.
----------------.---------------------------------------------------------------
------.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+++++++.+++.--------------.----------------------------------------------------
-----------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++.----.++++++++++.--------------.+++++++++++++..---------.++++.---
---------.-----------------------------------------------------------------.++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++.-------------.-----.+++++.---------------------------------------------------
--------------------------------------------.+++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++.-------
-----------------------------------------------------------------------------.++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
++++.------.+++.+++.--------.---------------------------------------------------
--------------------------.+++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++.---------------.+++++++++++++++++.+.----------------
-------------------------------------------------------------------.++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.------------.+
+++++.+++++++.-------------.----------------------------------------------------
-------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++.+++++++++++++++.------------.----------------------------------------------
-------------.------------------------------------.

Sample output:

Conticuere omnes intentique ora tenebant
inde toro pater Aeneas sic orsus ab alto:

Infandum, regina, iubes renovare dolorem,
Troianas ut opes et lamentabile regnum
eruerint Danai, quaeque ipse miserrima vidi
et quorum pars magna fui.

Sample input:_

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++.+++++++++++++++++.-------.+++++++++++++++++++.--------------------------
----------------------------------------------.------------.++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++.----------------
-.++++++++++++++++++++++.---------.---------------------------------------------
---------------------.------------.+++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++.+++++++++++++.----------.----------------------------------
----------------------------------.+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++.-------------------.+++++++++++.-.------
---------------------------------------------------------------------.++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.---------.
----------------------------------------------------------------------.+++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.--------
---.----.++.++.-----------------------------------------------------------------
---.-.+++++++++++++++++++++++++++++++++++++++++.--------------------------------
---------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++.-------.+++++++++++++++++++.---------------.---------------------------------
------------------------------------.+++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++.------------.---.---------------------
------------------------------------------------.+++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++.--------.+++.----------
----.--------------------------------------------------------.------------------
----------------.+++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++
+++++++++++++++++++++++++++++++++++++++++++.------------------------------------
-----------------------------------------------.++++++++++++++++++++++++++++++++
+++++++++.-----------------------------------------.++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++.-------.+++++++++++++++++++.-------
--------.---------------------------------------------------------------------.+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.---.++++
+++..----------------------------------------------------------------.----------
--.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++
..----------------------------------------------------------------------------.+
++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++.
-.++++++.-------------------.++++++.++++++++++++++.----------------.++++++++++++
++.-----------------------------------------------------------------------.-----
-------.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++
+++++++.----------.-------------------------------------------------------------
-------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++.------------.---..-------------------------------------------.-----
-------------------------------------------.++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++.+++++++++++++++++++++++++.+++++++++++++++++++++.-----
------------.-------------------------------------------------------------------
--.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++
++++++++.-----------------------------------------------------------------------
-------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++.------------.---..-------------------------------------------
--------------.------------.++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++.++++++++++++.++++++++.----------------------.+++++++++++++++++.-
-------------.------------------------------------------------------------------
-.-----------------------.

Sample output:

What, drawn, and talk of peace! I hate the word,
As I hate hell, all Montagues, and thee:
Have at thee, coward!

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs360.15792015/03/14 01:09:240B / 21B / 13B
2llhuii360.08432018/04/07 22:06:400B / 21B / 14B
3Histocrat460.11562015/03/14 23:55:250B / 28B / 16B

Ruby2 _

RankUserSizeTimeDateStatistics
1mitchs360.27822016/03/28 22:36:480B / 16B / 20B
2rotary-o360.16282018/04/10 01:24:320B / 16B / 20B
3letranger470.15002017/10/21 14:34:250B / 22B / 25B

Perl _

RankUserSizeTimeDateStatistics
1teebee360.03902015/03/12 17:00:190B / 14B / 20B
2tails360.03632015/03/14 14:40:570B / 14B / 20B
3llhuii360.03432015/09/12 11:44:580B / 14B / 20B
4%20360.03402016/03/28 16:15:170B / 13B / 21B
5mitchs370.14002015/03/14 06:52:240B / 24B / 11B
6jonathan camacho500.08482015/03/12 19:08:430B / 21B / 28B
7BioFALSE500.04902015/03/17 02:21:230B / 22B / 27B

Python _

RankUserSizeTimeDateStatistics
1llhuii730.27102015/09/12 22:53:350B / 44B / 26B
2mitchs740.12982015/03/13 16:27:020B / 47B / 22B
3hallvabo740.16332015/04/07 02:51:480B / 47B / 22B
4starmie750.15402015/03/13 16:16:010B / 47B / 23B
5rolf900.09512015/04/24 05:30:260B / 47B / 34B
6910.20042015/04/02 18:11:030B / 52B / 26B
7croyal1420.09352015/03/28 01:35:1311B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1mitchs660.22352015/04/07 02:35:070B / 37B / 25B
2llhuii660.16072015/09/13 00:23:470B / 35B / 27B
3mypetlion720.14392018/05/01 02:52:380B / 39B / 26B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea670.18272015/10/13 23:57:140B / 33B / 32B

J _

RankUserSizeTimeDateStatistics
1random370.06672015/04/01 05:01:130B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1twobit300.03952015/03/23 09:34:230B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1mitchs530.06432015/03/13 16:10:540B / 29B / 24B
2nai530.06242015/03/16 01:44:090B / 29B / 24B
3nu530.04842015/03/16 02:12:250B / 29B / 24B
4twobit530.05932015/03/20 23:21:280B / ?B / ?B
5llhuii530.05962015/09/12 23:11:000B / 29B / 24B
6%20530.07192016/03/28 16:26:270B / 29B / 24B
7tails530.07012016/03/31 13:44:090B / 29B / 24B
8amama570.02992015/04/05 12:34:530B / 31B / 26B
9kotatsugame570.34902017/04/02 05:10:440B / 33B / 24B

C++ _

RankUserSizeTimeDateStatistics
1mitchs730.05872015/04/07 03:39:580B / 42B / 29B

Haskell _

RankUserSizeTimeDateStatistics
1henkma720.05252015/05/03 11:02:090B / 48B / 18B

ObjC _

RankUserSizeTimeDateStatistics
1mitchs530.05792015/05/04 02:44:290B / 29B / 24B
2llhuii530.05932015/09/13 00:12:060B / 29B / 24B
3%20530.05022016/03/28 16:26:310B / 29B / 24B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1090.26682018/04/11 00:29:010B / 67B / 38B
2teebee1110.20702016/03/31 07:47:180B / 68B / 39B
3%201140.19142016/03/31 07:36:120B / 68B / 42B
4Klemmbrett1260.19162016/03/30 21:26:590B / ?B / ?B
5dc1330.28672016/03/30 20:47:530B / 78B / 50B
6croyal7100.37752015/04/01 01:15:4027B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1llhuii430.03662015/09/13 08:23:230B / 25B / 18B
2teebee490.03872015/03/13 11:07:360B / 25B / 24B

sed _

RankUserSizeTimeDateStatistics
1tails1451.06562016/03/17 17:52:280B / 49B / 83B
2%201781.15642016/05/09 04:56:040B / 48B / 112B

Bash _

RankUserSizeTimeDateStatistics
1tails110.00452018/04/09 15:59:070B / 3B / 8B
2llhuii110.00522018/04/09 23:29:560B / 3B / 8B
3mitchs130.01462018/04/10 03:10:380B / 5B / 7B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails590.67782016/04/05 11:29:090B / 35B / 17B
2llhuii600.68932016/04/08 08:49:040B / 19B / 34B

Zsh _

RankUserSizeTimeDateStatistics
1llhuii110.05012018/04/09 23:30:060B / 3B / 8B
2mitchs130.02222018/04/10 03:12:080B / 5B / 7B

Fish _

RankUserSizeTimeDateStatistics
1llhuii140.04242018/04/07 22:32:260B / 7B / 5B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii430.03982015/09/13 08:23:280B / 25B / 18B
2teebee490.04252015/09/13 04:59:120B / 25B / 24B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)150.08092015/10/05 03:14:382B / 0B / 13B
2mitchs550.04952015/03/14 18:13:440B / 0B / 55B

Whitespace _

RankUserSizeTimeDateStatistics
1mitchs810.14162015/03/13 10:12:400B / 0B / 0B
2%20820.10602015/03/13 11:17:150B / 0B / 0B

Befunge _

RankUserSizeTimeDateStatistics
1%20260.10082016/03/17 14:37:300B / 6B / 18B

GolfScript _

RankUserSizeTimeDateStatistics
1tails190.58962015/03/14 16:01:240B / 1B / 18B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs131.12222015/04/28 12:27:098B / 4B / 1B
2tails130.35442018/04/09 13:39:316B / 6B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1mitchs40.20482015/03/12 06:58:070B / 4B / 0B
2teebee40.20062015/03/12 17:13:220B / 2B / 2B
3jonathan camacho40.19852015/03/12 18:56:120B / 4B / 0B

x86 _

RankUserSizeTimeDateStatistics
1g33k910.02632015/03/12 20:10:2167B / ?B / ?B

goruby _

RankUserSizeTimeDateStatistics
1mitchs300.09292015/04/22 08:05:360B / 10B / 20B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o588.14822018/04/10 01:47:200B / 31B / 26B

Language Ranking_

RankLangUserSizeScore
1FlogScriptmitchs410000
2Bashtails113636
3Zshllhuii113636
4gs2mitchs133076
5Fishllhuii142857
6Brainfuckmitchs (cheat)152666
7GolfScripttails192105
8Befunge%20261538
9Ktwobit301333
10gorubymitchs301333
11Perlteebee361111
12Rubymitchs361111
13Ruby2mitchs361111
14Jrandom371081
15AWKllhuii43930
16xgawkllhuii43930
17Cmitchs53754
18ObjCmitchs53754
19Scalarotary-o58689
20Bash (builtins)tails59677
21Python3mitchs66606
22JavaScriptFizzyTea67597
23Haskellhenkma72555
24C++mitchs73547
25Pythonllhuii73547
26Whitespacemitchs81493
27x86g33k91439
28Javarotary-o109366
29sedtails145275

return to the top page