fork(1) download
  1. #!/usr/bin/perl -p
  2. # your code goes here
  3. for($i=0;$i<length;){$i=(s/(.).{$i}\1/\1/)?0:$i+1;}
Success #stdin #stdout 0s 6056KB
stdin
examples
programming
puzzles
codegolf
andromeda
abcbaccbabcb
if(x==1):x++
fnabnfun
stdout
es
praming
puzles
colf
a
acb
if(x+
fun