problem 142, another submit

 got "Runtime Error on test 8"

 use 0,1 to replace a,b in input string s
 map string to int
 mark[i][v] means in string s, substring with length i, value v exist;