|
|
back to boardi used SUFFIX ARRAY. But TLM at test 2. I don't know why? Edited by author 05.04.2006 22:25 Re: i used SUFFIX ARRAY. But TLM at test 2. I don't know why? i don't know why i got wrong answer. If i use suffix array, i get wrong answer in test 3. But when i use a same string concentrate after input string (s[1]...s[n]s[1]...s[n]), i got time limit exceeded in test 30. Can any one help me???????? Why do we need "use a same string concentrate after input string (s[1]...s[n]s[1]...s[n]), "????? Re: Why do we need "use a same string concentrate after input string (s[1]...s[n]s[1]...s[n]), "????? i don't know, if i don't, i got wrong answer in test 3. I made many test for this problem, and two ways both get the same result. To Admin: Would you give me test #3! Re: Why do we need "use a same string concentrate after input string (s[1]...s[n]s[1]...s[n]), "????? 6 ABABAB Re: Why do we need "use a same string concentrate after input string (s[1]...s[n]s[1]...s[n]), "????? Thank you, i got accepted :). i need to priority start point of suffix when two suffix have the same order. |
|
|