Rep-string: Difference between revisions

m
(Added Arturo implementation)
Line 482:
{{out}}
 
<pre>1001110011 -> 10011 ( length: 5 )
<pre></pre>
1110111011 -> 1110 ( length: 4 )
0010010010 -> 001 ( length: 3 )
1010101010 -> 1010 ( length: 4 )
1111111111 -> 11111 ( length: 5 )
0100101101 -> *not* a rep-string
0100100 -> 010 ( length: 3 )
101 -> *not* a rep-string
11 -> 1 ( length: 1 )
00 -> 0 ( length: 1 )
1 -> *not* a rep-string</pre>
 
=={{header|AutoHotkey}}==
1,532

edits