Brainfuck constants/Crunchfuck

From Esolang
Jump to navigation Jump to search
Back to Brainfuck constants

Crunchfuck is a very simple C program to brute force possible brainfuck constants. The program accepts a program range as its arguments and a list of already known solutions on standard input. It's runs on a single core so you can let it run in the background and do office work on the other core or you can launch multiple processes with different ranges if you have spare cores.

Final result

These are the shortest (in length, cells and steps) results under 5000 steps.

000                      (0, 1) non-wrapping
001 +                    (1, 1, 1) non-wrapping
002 ++                   (2, 1, 2) non-wrapping
003 +++                  (3, 1, 3) non-wrapping
004 ++++                 (4, 1, 4) non-wrapping
005 +++++                (5, 1, 5) non-wrapping
006 ++++++               (6, 1, 6) non-wrapping
007 +++++++              (7, 1, 7) non-wrapping
008 ++++++++             (8, 1, 8) non-wrapping
009 +++++++++            (9, 1, 9) non-wrapping
010 ++++++++++           (10, 1, 10) non-wrapping
011 +++++++++++          (11, 1, 11) non-wrapping
012 ++++++++++++         (12, 1, 12) non-wrapping
013 +++++++++++++        (13, 1, 13) non-wrapping
014 ++++++++++++++       (14, 1, 14) non-wrapping
015 +++[>+++++<-]>       (14, 2, 32) non-wrapping
016 ++++[>++++<-]>       (14, 2, 38) non-wrapping
017 ++++[>++++<-]>+      (15, 2, 39) non-wrapping
018 +++[>++++++<-]>      (15, 2, 35) non-wrapping
019 +++[>++++++<-]>+     (16, 2, 36) non-wrapping
020 ++++[>+++++<-]>      (15, 2, 42) non-wrapping
021 -[+[-<]>>++++]<      (15, 6, 1353) wrapping
022 >++[++[<]>->+]<      (15, 6, 1653) wrapping
023 >-[++++[<]>->+]<     (16, 5, 978) wrapping
024 ++++[>++++++<-]>     (16, 2, 46) non-wrapping
025 +++++[>+++++<-]>     (16, 2, 52) non-wrapping
026 >++[[+<]>+>++]<-     (16, 5, 4729) wrapping
027 >++[[+<]>+>++]<      (15, 5, 4728) wrapping
028 >+[--[>+<<]>-]>      (15, 4, 1253) wrapping
029 >+[--[<]>>+<-]>      (15, 4, 1256) wrapping
030 >+[--[<]>>+<-]>+     (16, 4, 1257) wrapping
031 >-[-[-<]>>+<]>--     (16, 5, 2240) wrapping
032 >-[-[-<]>>+<]>-      (15, 5, 2239) wrapping
033 >-[-[-<]>>+<]>       (14, 5, 2238) wrapping
034 >-[-[-<]>>+<]>+      (15, 5, 2239) wrapping
035 >+[++<[-<]>>+]<      (15, 6, 1565) wrapping
036 +[->-[---<]>-]>      (15, 6, 3808) wrapping
037 ---[>+<+++++++]>     (16, 2, 412) wrapping
038 >--[>+<--[-<]>]>     (16, 5, 2606) wrapping
039 >+[--[-<]>>+<]>      (15, 5, 2616) wrapping
040 >+[--[-<]>>+<]>+     (16, 5, 2617) wrapping
041 --[>+<++++++]>--     (16, 2, 436) wrapping
042 --[>+<++++++]>-      (15, 2, 435) wrapping
043 --[>+<++++++]>       (14, 2, 434) wrapping
044 --[>+<++++++]>+      (15, 2, 435) wrapping
045 -[+>+[+<]>+]>-       (14, 5, 3453) wrapping
046 -[+>+[+<]>+]>        (13, 5, 3452) wrapping
047 +[-[--<]>>--]<       (14, 4, 1551) wrapping
048 -[>+<-----]>---      (15, 2, 465) wrapping
049 -[>+<-----]>--       (14, 2, 464) wrapping
050 -[>+<-----]>-        (13, 2, 463) wrapping
051 -[>+<-----]>         (12, 2, 462) wrapping
052 -[>+<-----]>+        (13, 2, 463) wrapping
053 -[>+<-----]>++       (14, 2, 464) wrapping
054 -[>+<-----]>+++      (15, 2, 465) wrapping
055 >-[++>+[+<]>]>-      (15, 4, 1484) wrapping
056 >-[++>+[+<]>]>       (14, 4, 1483) wrapping
057 >-[++>+[+<]>]>+      (15, 4, 1484) wrapping
058 >-[++[+<]>>+<]>      (15, 4, 1574) wrapping
059 >+[+[<]>->++]<       (14, 8, 4948) wrapping
060 -[+>+[+++<]>-]>      (15, 4, 3886) wrapping
061 +[-[>+<<]>-]>--      (15, 4, 1915) wrapping
062 +[-[>+<<]>-]>-       (14, 4, 1914) wrapping
063 +[-[>+<<]>-]>        (13, 4, 1913) wrapping
064 -[+[>+<<]>+]>        (13, 4, 1923) wrapping
065 >+[+[<]>>+<+]>       (14, 4, 1922) wrapping
066 --[++>+[<]>+]>       (14, 5, 2506) wrapping
067 +[->-[--<]>-]>       (14, 3, 959) wrapping
068 +[->-[--<]>-]>+      (15, 3, 960) wrapping
069 +[->-[--<]>-]>++     (16, 3, 961) wrapping
070 -[+[>---<<]>+]>      (15, 4, 2281) wrapping
071 -[>+<-------]>--     (16, 2, 808) wrapping
072 -[>+<-------]>-      (15, 2, 807) wrapping
073 -[>+<-------]>       (14, 2, 806) wrapping
074 -[>+<-------]>+      (15, 2, 807) wrapping
075 -[>+<-------]>++     (16, 2, 808) wrapping
076 >+[+<[-<]>>++]<      (15, 9, 4581) wrapping
077 >+++[[-<]>>--]<      (15, 4, 2088) wrapping
078 -[+>++[++<]>]>--     (16, 3, 1276) wrapping
079 -[+>++[++<]>]>-      (15, 3, 1275) wrapping
080 -[+>++[++<]>]>       (14, 3, 1274) wrapping
081 -[>+<---]>----       (14, 2, 602) wrapping
082 -[>+<---]>---        (13, 2, 601) wrapping
083 -[>+<---]>--         (12, 2, 600) wrapping
084 -[>+<---]>-          (11, 2, 599) wrapping
085 -[>+<---]>           (10, 2, 598) wrapping
086 -[>+<---]>+          (11, 2, 599) wrapping
087 -[>+<---]>++         (12, 2, 600) wrapping
088 -[+[+<]>>+]<         (12, 4, 1038) wrapping
089 -[+[+<]>>+]<+        (13, 4, 1039) wrapping
090 -[+[+<]>>+]<++       (14, 4, 1040) wrapping
091 -[+[+<]>>+]<+++      (15, 4, 1041) wrapping
092 +[->---[-<]>-]>      (15, 3, 2550) wrapping
093 -[+>+[<]>++++]>      (15, 6, 3201) wrapping
094 >-->+[+[+<]>>+]<     (16, 4, 1060) wrapping
095 >+[+[>+<+<]>]>-      (15, 5, 2883) wrapping
096 >+[+[>+<+<]>]>       (14, 5, 2882) wrapping
097 +[-[---<]>>-]<-      (15, 4, 837) wrapping
098 +[-[---<]>>-]<       (14, 4, 836) wrapping
099 >-[--[<]>+>-]<       (14, 7, 2466) wrapping
100 -[>++<-----]>--      (15, 2, 515) wrapping
101 -[>++<-----]>-       (14, 2, 514) wrapping
102 -[>++<-----]>        (13, 2, 513) wrapping
103 -[>++<-----]>+       (14, 2, 514) wrapping
104 +[->-[<]>--]>-       (14, 5, 3526) wrapping
105 +[->-[<]>--]>        (13, 5, 3525) wrapping
106 +[->-[<]>--]>+       (14, 5, 3526) wrapping
107 >+[++[++>]<<+]>      (15, 3, 780) wrapping
108 >+[++[++>]<<+]>+     (16, 3, 781) wrapping
109 -[>--<-------]>-     (16, 2, 880) wrapping
110 -[>--<-------]>      (15, 2, 879) wrapping
111 -[+[++<]>->++]<      (15, 4, 1671) wrapping
112 -[+[++<]>->++]<+     (16, 4, 1672) wrapping
113 -[+>+++++[<]>+]>     (16, 3, 1891) wrapping
114 >+[-->++[<]>-]>      (15, 4, 1861) wrapping
115 +[->->-[<]>--]>      (15, 5, 2271) wrapping
116 +[->->-[-<]>-]>      (15, 5, 3579) wrapping
117 +[->->-[-<]>-]>+     (16, 5, 3580) wrapping
118 ----[>+++++<--]>     (16, 2, 1266) wrapping
119 ------[>+++<--]>     (16, 2, 1008) wrapping
120 ----[>+++<--]>--     (16, 2, 1016) wrapping
121 ----[>+++<--]>-      (15, 2, 1015) wrapping
122 ----[>+++<--]>       (14, 2, 1014) wrapping
123 --[>+<--]>----       (14, 2, 770) wrapping
124 --[>+<--]>---        (13, 2, 769) wrapping
125 --[>+<--]>--         (12, 2, 768) wrapping
126 --[>+<--]>-          (11, 2, 767) wrapping
127 --[>+<--]>           (10, 2, 766) wrapping
128 --[>-<--]>-          (11, 2, 767) wrapping
129 --[>-<--]>           (10, 2, 766) wrapping
130 --[>-<--]>+          (11, 2, 767) wrapping
131 --[>-<--]>++         (12, 2, 768) wrapping
132 --[>-<--]>+++        (13, 2, 769) wrapping
133 --[>-<--]>++++       (14, 2, 770) wrapping
134 ----[>---<--]>       (14, 2, 1014) wrapping
135 ----[>---<--]>+      (15, 2, 1015) wrapping
136 ----[>---<--]>++     (16, 2, 1016) wrapping
137 ------[>---<--]>     (16, 2, 1008) wrapping
138 ----[>-----<--]>     (16, 2, 1266) wrapping
139 -[+>+>+[+<]>+]>-     (16, 5, 3580) wrapping
140 -[+>+>+[+<]>+]>      (15, 5, 3579) wrapping
141 -[+>+>+[<]>++]>      (15, 5, 2271) wrapping
142 >-[++>--[<]>+]>      (15, 4, 1861) wrapping
143 +[->-----[<]>-]>     (16, 3, 1891) wrapping
144 +[-[--<]>+>--]<-     (16, 4, 1672) wrapping
145 +[-[--<]>+>--]<      (15, 4, 1671) wrapping
146 -[>++<-------]>      (15, 2, 879) wrapping
147 -[>++<-------]>+     (16, 2, 880) wrapping
148 >-[--[-->]<<-]>-     (16, 3, 781) wrapping
149 >-[--[-->]<<-]>      (15, 3, 780) wrapping
150 -[+>+[<]>++]>-       (14, 5, 3526) wrapping
151 -[+>+[<]>++]>        (13, 5, 3525) wrapping
152 -[+>+[<]>++]>+       (14, 5, 3526) wrapping
153 -[>--<-----]>-       (14, 2, 514) wrapping
154 -[>--<-----]>        (13, 2, 513) wrapping
155 -[>--<-----]>+       (14, 2, 514) wrapping
156 -[>--<-----]>++      (15, 2, 515) wrapping
157 >+[++[<]>->+]<       (14, 7, 2466) wrapping
158 -[+[+++<]>>+]<       (14, 4, 836) wrapping
159 -[+[+++<]>>+]<+      (15, 4, 837) wrapping
160 >-[-[>-<-<]>]>       (14, 5, 2882) wrapping
161 >-[-[>-<-<]>]>+      (15, 5, 2883) wrapping
162 >++>-[-[-<]>>-]<     (16, 4, 1060) wrapping
163 +[->-[<]>----]>      (15, 6, 3201) wrapping
164 -[+>+++[+<]>+]>      (15, 3, 2550) wrapping
165 +[-[-<]>>-]<---      (15, 4, 1041) wrapping
166 +[-[-<]>>-]<--       (14, 4, 1040) wrapping
167 +[-[-<]>>-]<-        (13, 4, 1039) wrapping
168 +[-[-<]>>-]<         (12, 4, 1038) wrapping
169 -[>-<---]>--         (12, 2, 600) wrapping
170 -[>-<---]>-          (11, 2, 599) wrapping
171 -[>-<---]>           (10, 2, 598) wrapping
172 -[>-<---]>+          (11, 2, 599) wrapping
173 -[>-<---]>++         (12, 2, 600) wrapping
174 -[>-<---]>+++        (13, 2, 601) wrapping
175 -[>-<---]>++++       (14, 2, 602) wrapping
176 +[->--[--<]>]>       (14, 3, 1274) wrapping
177 +[->--[--<]>]>+      (15, 3, 1275) wrapping
178 +[->--[--<]>]>++     (16, 3, 1276) wrapping
179 >---[[+<]>>++]<      (15, 4, 2088) wrapping
180 >-[-<[+<]>>--]<      (15, 9, 4581) wrapping
181 -[>-<-------]>--     (16, 2, 808) wrapping
182 -[>-<-------]>-      (15, 2, 807) wrapping
183 -[>-<-------]>       (14, 2, 806) wrapping
184 -[>-<-------]>+      (15, 2, 807) wrapping
185 -[>-<-------]>++     (16, 2, 808) wrapping
186 +[-[>+++<<]>-]>      (15, 4, 2281) wrapping
187 -[+>+[++<]>+]>--     (16, 3, 961) wrapping
188 -[+>+[++<]>+]>-      (15, 3, 960) wrapping
189 -[+>+[++<]>+]>       (14, 3, 959) wrapping
190 ++[-->-[<]>-]>       (14, 5, 2506) wrapping
191 >-[-[<]>>-<-]>       (14, 4, 1922) wrapping
192 +[-[>-<<]>-]>        (13, 4, 1923) wrapping
193 -[+[>-<<]>+]>        (13, 4, 1913) wrapping
194 -[+[>-<<]>+]>+       (14, 4, 1914) wrapping
195 -[+[>-<<]>+]>++      (15, 4, 1915) wrapping
196 +[->-[---<]>+]>      (15, 4, 3886) wrapping
197 >-[-[<]>+>--]<       (14, 8, 4948) wrapping
198 >+[--[-<]>>-<]>      (15, 4, 1574) wrapping
199 >+[-->-[-<]>]>-      (15, 4, 1484) wrapping
200 >+[-->-[-<]>]>       (14, 4, 1483) wrapping
201 >+[-->-[-<]>]>+      (15, 4, 1484) wrapping
202 -[>-<-----]>---      (15, 2, 465) wrapping
203 -[>-<-----]>--       (14, 2, 464) wrapping
204 -[>-<-----]>-        (13, 2, 463) wrapping
205 -[>-<-----]>         (12, 2, 462) wrapping
206 -[>-<-----]>+        (13, 2, 463) wrapping
207 -[>-<-----]>++       (14, 2, 464) wrapping
208 -[>-<-----]>+++      (15, 2, 465) wrapping
209 -[+[++<]>>++]<       (14, 4, 1551) wrapping
210 +[->-[-<]>-]>        (13, 5, 3452) wrapping
211 +[->-[-<]>-]>+       (14, 5, 3453) wrapping
212 --[>-<++++++]>-      (15, 2, 435) wrapping
213 --[>-<++++++]>       (14, 2, 434) wrapping
214 --[>-<++++++]>+      (15, 2, 435) wrapping
215 --[>-<++++++]>++     (16, 2, 436) wrapping
216 >-[++[+<]>>-<]>-     (16, 5, 2617) wrapping
217 >-[++[+<]>>-<]>      (15, 5, 2616) wrapping
218 >++[>-<++[+<]>]>     (16, 5, 2606) wrapping
219 ---[>-<+++++++]>     (16, 2, 412) wrapping
220 -[+>+[+++<]>+]>      (15, 6, 3808) wrapping
221 >-[--<[+<]>>-]<      (15, 6, 1565) wrapping
222 >+[+[+<]>>-<]>-      (15, 5, 2239) wrapping
223 >+[+[+<]>>-<]>       (14, 5, 2238) wrapping
224 >+[+[+<]>>-<]>+      (15, 5, 2239) wrapping
225 >+[+[+<]>>-<]>++     (16, 5, 2240) wrapping
226 >-[++[<]>>-<+]>-     (16, 4, 1257) wrapping
227 >-[++[<]>>-<+]>      (15, 4, 1256) wrapping
228 >-[++[>-<<]>+]>      (15, 4, 1253) wrapping
229 >--[[-<]>->--]<      (15, 5, 4728) wrapping
230 >--[[-<]>->--]<+     (16, 5, 4729) wrapping
231 -----[>-----<+]>     (16, 2, 52) wrapping
232 ----[>------<+]>     (16, 2, 46) wrapping
233 >+[----[<]>+>-]<     (16, 5, 978) wrapping
234 >--[--[<]>+>-]<      (15, 6, 1653) wrapping
235 +[-[+<]>>----]<      (15, 6, 1353) wrapping
236 ----[>-----<+]>      (15, 2, 42) wrapping
237 ---[>------<+]>-     (16, 2, 36) wrapping
238 ---[>------<+]>      (15, 2, 35) wrapping
239 ----[>----<+]>-      (15, 2, 39) wrapping
240 ----[>----<+]>       (14, 2, 38) wrapping
241 ---[>-----<+]>       (14, 2, 32) wrapping
242 --------------       (14, 1, 14) wrapping
243 -------------        (13, 1, 13) wrapping
244 ------------         (12, 1, 12) wrapping
245 -----------          (11, 1, 11) wrapping
246 ----------           (10, 1, 10) wrapping
247 ---------            (9, 1, 9) wrapping
248 --------             (8, 1, 8) wrapping
249 -------              (7, 1, 7) wrapping
250 ------               (6, 1, 6) wrapping
251 -----                (5, 1, 5) wrapping
252 ----                 (4, 1, 4) wrapping
253 ---                  (3, 1, 3) wrapping
254 --                   (2, 1, 2) wrapping
255 -                    (1, 1, 1) wrapping

If the maximum steps is increased to 1000000 these additional strings are found.

016 >+[>-[-<]>>]>        (13, 8, 7624) wrapping
017 >+[>-[-<]>>]>+       (14, 8, 7625) wrapping
031 >+[[-<]>>->--]<      (15, 8, 7313) wrapping
035 >-[++>+[<]>+]>       (14, 12, 10846) wrapping
037 >-[+<[-<]>>++]<      (15, 10, 5777) wrapping
038 >+[-->+[<]>-]>-      (15, 8, 5911) wrapping
039 >+[-->+[<]>-]>       (14, 8, 5910) wrapping
040 >+[-->+[<]>-]>+      (15, 8, 5911) wrapping
078 +[+[>>+<+<-]>]>      (15, 24, 14867) wrapping
109 +[->-[<]>+>--]>      (15, 15, 8617) wrapping
111 >+[+>+[<]>->]<       (14, 15, 6796) wrapping
112 >+[+>+[<]>->]<+      (15, 15, 6797) wrapping
117 +[->>-[-<+<]>]>      (15, 14, 18550) wrapping
120 >+[>+[<]>->+]<-      (15, 15, 6799) wrapping
121 >+[>+[<]>->+]<       (14, 15, 6798) wrapping
135 >-[>-[<]>+>-]<       (14, 15, 6798) wrapping
136 >-[>-[<]>+>-]<+      (15, 15, 6799) wrapping
139 -[+>>+[+<-<]>]>      (15, 14, 18550) wrapping
144 >-[->-[<]>+>]<-      (15, 15, 6797) wrapping
145 >-[->-[<]>+>]<       (14, 15, 6796) wrapping
147 -[+>+[<]>->++]>      (15, 15, 8617) wrapping
178 -[-[>>-<-<+]>]>      (15, 24, 14867) wrapping
216 >-[++>-[<]>+]>-      (15, 8, 5911) wrapping
217 >-[++>-[<]>+]>       (14, 8, 5910) wrapping
218 >-[++>-[<]>+]>+      (15, 8, 5911) wrapping
219 >+[-<[+<]>>--]<      (15, 10, 5777) wrapping
221 >+[-->-[<]>-]>       (14, 12, 10846) wrapping
225 >-[[+<]>>+>++]<      (15, 8, 7313) wrapping
239 >-[>+[+<]>>]>-       (14, 8, 7625) wrapping
240 >-[>+[+<]>>]>        (13, 8, 7624) wrapping

Note: These sequences will not be the exact ones that would be found by the "crunchfuck" program as the program actually used continues searching for all sequences of a given length and chooses the "best" one.

Ranges

You may choose one of the following ranges. If you do please put your name on the corresponding line. If you're done with a range please add the program output below. (Only the interesting stuff, of course). Before running make sure you update the list of already known solutions. We're only interested in shortest solutions.

program		limit		name	done
+	4294967295	talamon
<]<[+]>]][<[+	4294967295	talamon
++<[>]++-]>[>	4294967295	talamon
<+>[[][+>]-[[	4294967295	talamon
+--[++<-<]+[++	4294967295	talamon
<-+[>+->[]]<>+	4294967295	talamon
+>]<[+]>]][<[+	4294967295	talamon
<>[<+-<<++[<+-	4294967295	talamon
+<<<>--[-+<<>-	4294967295	talamon
<<><[-][>+><[-	4294967295	talamon
+[-<+><]<+-<+>	4294967295	talamon
<[+<>>-+]++<>>	4294967295	talamon
+]]>[>]++-]>[>	4294967295	talamon
<][>+<<---[>+<	4294967295	talamon
++[>><->>-<>><	4294967295	talamon
<+<>[<]><->>[<	4294967295	talamon
+->>+[<<[-->+[	4294967295
<-->>[-[]-+>>[	4294967295
+>+>[[][+>]-[[	4294967295
<>]-+]<]->[-+]	4294967295
+<[->]-+<><->]	4294967295
<<<-[]]+[>>-[]	4294967295	
+[>-++[-]>--+++	4294967295
<[-->+>>+<+->++	4294967295
+]+-[++<-<]+[++	4294967295
<]]++-[<><[++-+	4294967295
++]+>->[<<<+>-+	4294967295
<+[+[-+][<>+[-+	4294967295
+-<++>[]]<-++>+	4294967295
<->+>>>+-[++>>+	4294967295
+>-+[>+->[]]<>+	4294967295
<>+++<[-<[[]]>+	4294967295
+<]]-<>>[[<]-<+	4294967295
<<[]<<+<][>]<<+	4294967295
+[<]]<[<+]-]]<+	4294967295
<[>]-[>[-]+]-[+	4294967295
+]-]<[+]>]][<[+	4294967295
<]+]][[]<][[][+	4294967295
+++]-]>+]]<[-]+	4294967295
<+][<]+-++<[<]+	4294967295
+-[[]][--+>[]]+	4294967295
<-<[-+<>>+-[-+-	4294967295
+>>[<+-<<++[<+-	4294967295
<>-[]+]<[+]<]+-	4294967295
+<+[--<[]+[<---	4294967295
<<]<<--]+-<<<--	4294967295
+[[<]-]]--><]--	4294967295
<[<<-><+<--<->-	4294967295
+]><<>--[-+<<>-	4294967295
<]-<]>]-]-]>]>-	4294967295
++-<-<<>+>[>-<-	4294967295
<++<<<-<-><><<-	4294967295
+-]>]<]<>>>>]<-	4294967295
<-[>-[<[<>->-[-	4294967295
+><><[-][>+><[-	4294967295
<>>>][]]]>]-][-	4294967295
+<->-]<+-<[--]-	4294967295
<<+><]--><<-<]-	4294967295
+[]-]]]-<<>-]]-	4294967295
<[[--+[>[<---+>	4294967295
+]<-<+><]<+-<+>	4294967295 EzoLang
<]>-]++[+[]+]+>	4294967295 EzoLang

The program

Download the program from [1] (dead link) and compile it (gcc -o crunchfuck crunchfuck.c -O3). DO NOT CHANGE THE MAX_STEPS (or if you can't help yourself at least increase it ;).)! The goal is to find programs that run in 5000 cycles.

Rut it:

cat known_solutions.txt | ./crunchfuck '+' 4294967295 > output.txt

(substitute '+' with your start program).

Please always update known_solutions.txt first.

Important: If the program crashes (it really should not) or you abort it during calculations, you or someone else has to rerun it.

Known Solutions

I will update this list as soon as possible. You can edit it too, of course.

0
1
255
3
2
254
253
4
252
5
251
6
250
8
7
248
249
246
247
244
245
83
169
125
127
84
170
126
128
85
171
129
9
86
10
51
205
172
130
131
173
88
168
73
183
43
213
153
103
204
102
52
154
50
206
63
193
65
68
191
209
36
87
82
174
53
156
158
151
123
122
124
100
211
27
132
134
133
42
72
59
64
200
208
106
104
89
175
179
176
76
12
15
16
241
240
46
96
155
189
228
66
142
192
67
90
227
22
157
207
107
105
56
54
91
81
79
35
116
end

Output

+

Add output for range '+' here

+]<-<+><]<+-<+>

Result: 1 -> +>[-<+><]<+-<+>
Result: 255 -> ->[-<+><]<+-<+>
Result: 3 -> ---[<+><]<+-<+>
Result: 2 -> >--[<+><]<+-<+>
Result: 254 -> -->[<+><]<+-<+>
Result: 253 -> --->[+><]<+-<+>
Result: 4 -> +[++>-><]<+-<+>
Result: 252 -> -[--->><]<+-<+>
Result: 5 -> +++++>[<]<+-<+>
Result: 251 -> ----->[<]<+-<+>
Result: 6 -> ++++++>[]<+-<+>
Result: 250 -> ------>[]<+-<+>
Result: 8 -> ++++++++++--<+>
Result: 7 -> >+++++++++--<+>
Result: 248 -> --------++--<+>
Result: 249 -> >-------++--<+>
Result: 246 -> ---------+--<+>
Result: 247 -> >--------+--<+>
Result: 244 -> ------------<+>
Result: 245 -> >-----------<+>
Result: 83 -> +[>+<+++]>--<+>
Result: 169 -> -[>+<+++]>--<+>
Result: 125 -> ++[>+<++]>--<+>
Result: 127 -> ++[>-<++]>--<+>
Result: 84 -> +[>+<+++]+>-<+>
Result: 170 -> -[>+<+++]+>-<+>
Result: 126 -> ++[>+<++]+>-<+>
Result: 128 -> ++[>-<++]+>-<+>
Result: 85 -> -[>++<+++]>-<+>
Result: 171 -> -[>+<+++]++><+>
Result: 129 -> ++[>-<++]++><+>
Result: 9 -> +++++++++<+><+>
Result: 86 -> -[>++<+++]+><+>
Result: 10 -> ++++++++++<><+>
Result: 51 -> +[>+<+++++]><+>
Result: 205 -> -[>+<+++++]><+>
Result: 172 -> --[>++<+++]><+>
Result: 130 -> -[[>]<+<++]><+>
Result: 131 -> ++[>---<++]><+>
Result: 173 -> -[[+>]<<++]><+>
Result: 88 -> +[+[+>]<<+]><+>
Result: 168 -> +[-[->]<<-]><+>
Result: 73 -> +[>+<+++++++]+>
Result: 183 -> -[>+<+++++++]+>
Result: 43 -> --[>+<++++++]+>
Result: 213 -> --[>-<++++++]+>
Result: 153 -> +[>+++<+++++]+>
Result: 103 -> -[>+++<+++++]+>
Result: 204 -> ++[>++<+++++]+>
Result: 102 -> >+[>++<+++++]+>
Result: 52 -> --[>++<+++++]+>
Result: 154 -> >-[>++<+++++]+>
Result: 50 -> -<+[>+<+++++]+>
Result: 206 -> +<-[>+<+++++]+>
Result: 63 -> +[>+[<]>++++]+>
Result: 193 -> +[>-[<]>++++]+>
Result: 65 -> +[[>]<+<++++]+>
Result: 68 -> -[[>]<+<++++]+>
Result: 191 -> -[[>]<-<++++]+>
Result: 209 -> -[[+>]<<++++]+>
Result: 36 -> +[[->]<<++++]+>
Result: 87 -> -[>+++++<+++]+>
Result: 82 -> ---<+[>+<+++]+>
Result: 174 -> +++<-[>+<+++]+>
Result: 53 -> +[[++>]<<+++]+>
Result: 156 -> +[+[+>]<<+++]+>
Result: 158 -> -[+[+>]<<+++]+>
Result: 151 -> -[>+[<+]->++]+>
Result: 123 -> ++[>+++++<++]+>
Result: 122 -> ++++[>+++<++]+>
Result: 124 -> -<++[>+++<++]+>
Result: 100 -> +[[>]<+++<++]+>
Result: 211 -> +[+[>]<++<++]+>
Result: 27 -> ++[[+>]<+<++]+>
Result: 132 -> --[>[>]<+<++]+>
Result: 134 -> ->+[[>]<+<++]+>
Result: 133 -> ++[>-----<++]+>
Result: 42 -> -[[>]<---<++]+>
Result: 72 -> ++[+[>]<-<++]+>
Result: 59 -> >+[+[>]<-<++]+>
Result: 64 -> +++[[>]<-<++]+>
Result: 200 -> +[[+++>]<<++]+>
Result: 208 -> +[+[++>]<<++]+>
Result: 106 -> +[++[+>]<<++]+>
Result: 104 -> -[++[+>]<<++]+>
Result: 89 -> -[<+[+>]<<++]+>
Result: 175 -> -<+[[+>]<<++]+>
Result: 179 -> ---[[+>]<<++]+>
Result: 176 -> >--[[+>]<<++]+>
Result: 76 -> +[+>[->]<<++]+>
Result: 12 -> --[>++++++>+]+>
Result: 15 -> ---[>+++++>+]+>
Result: 16 -> ----[>++++>+]+>
Result: 241 -> ---[>----->+]+>
Result: 240 -> ----[>---->+]+>
Result: 46 -> -[>+[+<+]->+]+>
Result: 96 -> --[>+[<+]->+]+>
Result: 155 -> +[>[++<-]->+]+>
Result: 189 -> -[+>+[++<]>+]+>
Result: 228 -> -[++[>-<<]>+]+>
Result: 66 -> ++[++>+[<]>+]+>
Result: 142 -> -[++>--[<]>+]+>
Result: 192 -> -<+[+>-[<]>+]+>
Result: 67 -> -[++[<]>>+<+]+>
Result: 90 -> ++[++[>]<+<+]+>
Result: 227 -> -[++[<]>>-<+]+>
Result: 22 -> ++[++[>]<-<+]+>
Result: 157 -> >+[++[>]<-<+]+>
Result: 207 -> -[[++++>]<<+]+>
Result: 107 -> +[++[++>]<<+]+>
Result: 105 -> -[++[++>]<<+]+>
Result: 56 -> +[+++[+>]<<+]+>
Result: 54 -> -[+++[+>]<<+]+>
Result: 91 -> -<+[+[+>]<<+]+>
Result: 81 -> +[[---->]<<+]+>
Result: 79 -> -[[---->]<<+]+>
Result: 35 -> +[++>[->]<<+]+>
Result: 116 -> -[++>[->]<<+]+>
Last program: <]>-]++[+[]+]+>